X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=README;h=802056ab261b239612e146fbc06157c6dc9209d8;hb=ae7a2efeea1aadfaf3a098e0449997f5b5840b44;hp=56d4e80728d2bc7b9433c2f0d35d02c764003a92;hpb=cb462fe98155fc806e8fb9c5570e27ee44dd1840;p=gohpenc.git diff --git a/README b/README index 56d4e80..802056a 100644 --- a/README +++ b/README @@ -12,8 +12,7 @@ widening supported platforms. gohpenc is incompatible with hpenc and much simpler: * it uses only ChaCha20-Poly1305 algorithm -* no random data generation mode -- just encrypt /dev/zero. Poly1305 - still be used, but it is fast enough to close eyes on it +* no random data generation mode * no metadata in output stream and no structure validation. Only blocks authentication * simpler key derivation -- new key for each block @@ -46,9 +45,10 @@ How encryption/authentication is performed: | SALT | LEN | CIPHERTEXT | AUTH TAG | LEN | CIPHERTEXT | AUTH TAG | ... +------+-----+------------+----------+-----+------------+----------+---- -gohpenc preallocates memory for one block for each thread. If you want -to process data with 1 MiB blocks in 4 threads, then you have to have at -least 4 MiBs of free memory. Moreover you have at least 1 MiB of free -memory on the decrypting side. +gohpenc preallocates memory for one block for each thread and one block +for buffered reading from stdin. If you want to process data with 1 MiB +blocks in 4 threads, then you have to have at least 5 MiBs of free +memory. Moreover you have at least 1 MiB of free memory on the +decrypting side. gohpenc is free software: see the file COPYING for copying conditions.