From f1649168642441b4546e54be88d25f3ddbf00230 Mon Sep 17 00:00:00 2001 From: Bent Bracke Date: Tue, 23 Jul 2024 14:15:57 +0200 Subject: [PATCH] encryption_utilities 20220701.0.0 (#1154) --- .../encryption_utilities-20220701.0.0.toml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 index/en/encryption_utilities/encryption_utilities-20220701.0.0.toml diff --git a/index/en/encryption_utilities/encryption_utilities-20220701.0.0.toml b/index/en/encryption_utilities/encryption_utilities-20220701.0.0.toml new file mode 100644 index 00000000..e74bec10 --- /dev/null +++ b/index/en/encryption_utilities/encryption_utilities-20220701.0.0.toml @@ -0,0 +1,45 @@ +name = "encryption_utilities" +description = "Utility programs for the encryption algorithms included in the PragmARC" +version = "20220701" + +authors = ["Jeff Carter"] +maintainers = ["Bent Bracke "] +maintainers-logins = ["bracke"] +licenses = "GPL-3.0-or-later" +website = "https://github.com/bracke/Encryption-utilities" +tags = ["threefish256", "threefish512", "threefish1024", "xor"] + +long-description = """ +# Encryption utilities + +The PragmAda Reusable Components (https://github.com/jrcarter/PragmARC) contain implementations of the Threefish-256 (implemented directly from the specification in Section 3.3 of the Skein paper V1.3 [https://www.schneier.com/skein.pdf]), Threefish-512, Threefish-1024, and XOR encryption algorithms. Threefish-512 and Threefish-1024 are provided by Daniel Norte de Moraes (https://github.com/danieagle). + +Test cases specifically for Threefish are at https://sites.google.com/site/bartoszmalkowski/threefish and https://github.com/bmalkow/java-bc-threefish. + +Tf_Test runs the test cases for Threefish-256 successfully (on a little-endian machine). It also encrypts certain blocks and presents the encrypted blocks, and shows that they decrypt correctly. Tf_Test uses PragmARC.Images from https://github.com/jrcarter/PragmARC. Tf_Test_512 and Tf_Test_1024, provided by Daniel Norte de Moraes (https://github.com/danieagle), do the same for Threefish-512 and Threefish-1024. + +TF_Crypt is a command-line program for encrypting and decrypting files with Threefish-256. TF_Crypt uses Password_Line. Files encrypted with TF_Crypt built with GNAT and running on Linux are correctly decrypted by TF_Crypt build with ObjectAda and running on Windows, and vice versa. + +Xcrypt is a command-line program for encrypting and decrypting files with XOR. It uses Password_Line. Since XOR is symmetrical, the same algorithm is used for encrypting and decrypting. One can encrypt twice with multiple keys, and decrypt with the keys in any order. This gives results equivalent to encrypting with a key length of the least common multiple of the lengths of the keys. + +Password_Line is a function for obtaining secret input from a user without echoing it to the screen. It has been tested and works with GNAT on Linux and Windows and ObjectAda 10.3 on Windows. + +Tf_Test*, TF_Crypt, and Xcrypt are GPL-3; Password_Line is GMGPL. +""" + +executables = ["tf_crypt","tf_test","tf_test_512","tf_test_1024","xcrypt"] + +[build-switches] +"*".style_checks = "No" +"*".ada_version = "Ada12" + +[[depends-on]] # Avoid bug in GNAT 13 +gnat = "<13.0 | >=13.3" + +[[depends-on]] +pragmarc = "^20240323.0.0" + +[origin] +commit = "1b883b9449a588f164e060cbc9ccd09c9595fa1c" +url = "git+https://github.com/bracke/Encryption-utilities.git" +