Commit | Line | Data |
---|---|---|
8de51304 H |
1 | Harvie's symetric encoding toolkit.\r |
2 | \r | |
3 | \r | |
4 | USAGE:\r | |
5 | \r | |
6 | 1. Generate key:\r | |
7 | keygen 128 > key.txt\r | |
8 | - keygen --help for more options\r | |
9 | - this will 128 generate pseudorandom bytes (if number is not specified, 1024 will be used instead)\r | |
10 | - 128 may be size of encrypted file in bytes for optimal security.\r | |
11 | - You can use any file (MP3, EXE, etc...) instead of this.\r | |
12 | - The key mustn't contains the lots of NULL bytes\r | |
13 | \r | |
14 | 2. Encrypt\r | |
15 | crypt key.txt file.to.process file.output\r | |
16 | - crypt for more options\r | |
17 | - key.txt is some file used as key\r | |
18 | - file.to.process is file to encrypt/decrypt by key (if not specified, STDIN is used)\r | |
19 | - file.output is output of process (if not specified, STDOUT is used)\r | |
20 | \r | |
21 | 3. Decrypt\r | |
22 | crypt key.txt file.output file.plain\r | |
23 | - decrypting is done the same way as encrypting, you need the same key for decrypting and for encrypting. |