Commit 9475e2f0 authored by Vicente Parra Hurtado's avatar Vicente Parra Hurtado

Alpha 0.2

parent cedb1cd3
......@@ -4,10 +4,12 @@
This aplication is written in Haskell language.
In this Alpha 0.1 used two layers for encrypt.
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.
## Layer 1 Entrophy (Anti frist-last Block Defending)
Entrophy Add 128/256 Random bytes.
......@@ -17,22 +19,32 @@ EntrophyText = (Random 128/256 bytes) ++ Text XOR ( Random 128/256 bytes) = 256/
## Layer 2 AES256 -- Cipher Block Chaining (CBC).
User 256 bites AES Password + 128 bites vectorIV (CBC).
### Layer 3 Strong Cipher Alpha 0.2
Password Lv.3.1. Generates a matrix of 16 * 16 bytes
Base64 Encode for Humans.
16 bytes => 16 row translions + 16 cols traslations (hex code)
### Layer 3 Strong Cipher in next Alpha.
Pasword Lv 3.2. 256bytes => xor flow over each byte
This layer Brake the order of AES256 cipher.
Pasword L3.3 Generate Randon Strong xor flow (Colin Percival Stronger Key Derivation via Sequential Memory-Hard Functions)
http://www.tarsnap.com/scrypt/scrypt.pdf
One key genera one matrix of [16 bytes * 16 bytes].
The cipher are 20 rounds (Marix + XOR). First round Password Lv3.2 + Next round Colin Percival Stronger Key Derivation whit (Password3.3.+ Word8 translation)
This matrix change 16 AES blocks.
### Layer 4 Encode base64
Base64 Encode for Humans.
# Instructions for Use.
see INSTALL.MD
### Key generator:
CrypText keyGen FilePad String.
stack exec CrypText keyGen FilePad String.
Filepad = File for write the passwords.
......@@ -42,7 +54,7 @@ Example: stack exec CrypText-exe keyGen OSW.key OSW
### Encrypt:
CrypText encrypt FilePad1 FilePad2.
stack exec CrypText encrypt FilePad1 FilePad2.
Filepad1 = Passwords File.
......@@ -52,7 +64,7 @@ Example: stack exec CrypText-exe encrypt OSW.key CODE
### Decript:
CrypText encrypt FilePad1 FilePad2
stack exec CrypText encrypt FilePad1 FilePad2
Filepad1 = Passwords File.
......@@ -60,9 +72,3 @@ FilePad2 = File Encrypted.
Example: stack exec CrypText-exe decrypt OSW.key CODE
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