Commit 013c97ff authored by Vicente Parra Hurtado's avatar Vicente Parra Hurtado

Alpha 0.3

parent e4a8b36f
......@@ -6,15 +6,13 @@ This aplication is written in Haskell language.
In this Alpha 0.2 used three layers for encrypt.
Creates 128/256 bytes files automatically (Depending on the length of the text).
Next Alpha encrypting files and Asimetric encryptation.
Creates 128 bytes files automatically
## Layer 1 Entrophy (Anti frist-last Block Defending)
Entrophy Add 128/256 Random bytes.
Entrophy Add 128 Random bytes.
EntrophyText = (Random 128/256 bytes) ++ Text XOR ( Random 128/256 bytes) = 256/512 bytes.
EntrophyText = (Random 128 bytes) ++ Text XOR ( Random 128 bytes) = 256 bytes.
## Layer 2 AES256 -- Cipher Block Chaining (CBC).
......@@ -26,25 +24,29 @@ User 256 bites AES Password + 128 bites vectorIV (CBC).
Password Lv.3.1. Generates a matrix of 16 * 16 bytes
16 bytes => 16 row translions + 16 cols traslations (hex code)
Generate 16 * 16 transform Matrix, Chan the position of 256 bytes in AES encriptation
Pasword Lv 3.2. 256bytes => xor flow over each byte
Pasword L3.3 Generate Randon Strong xor flow (Colin Percival Stronger Key Derivation via Sequential Memory-Hard Functions)
Pasword Lv 3.2. 4* 16 bytes => Generate 16 Randon Strong keys (256 bytes)
(Colin Percival Stronger Key Derivation via Sequential Memory-Hard Functions)
http://www.tarsnap.com/scrypt/scrypt.pdf
The cipher are 20 rounds (Marix + XOR). First round Password Lv3.2 + Next round Colin Percival Stronger Key Derivation whit (Password3.3.+ Word8 translation)
The cipher are 16 rounds (Marix 256 Translation + XOR Keys).
Encrypt text 256 Bytes
### Layer 4 Encode base64
Base64 Encode for Humans.
Encode Text 344 Bytes
# Instructions for Use.
see INSTALL.MD
### Key generator:
stack exec CrypText keyGen FilePad String.
stack exec CrypText-exe keyGen FilePad String.
Filepad = File for write the passwords.
......@@ -54,7 +56,7 @@ Example: stack exec CrypText-exe keyGen OSW.key OSW
### Encrypt:
stack exec CrypText encrypt FilePad1 FilePad2.
stack exec CrypText-exe encrypt FilePad1 FilePad2.
Filepad1 = Passwords File.
......@@ -64,7 +66,7 @@ Example: stack exec CrypText-exe encrypt OSW.key CODE
### Decript:
stack exec CrypText encrypt FilePad1 FilePad2
stack exec CrypText-exe encrypt FilePad1 FilePad2
Filepad1 = Passwords File.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment