mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
improve readme
This commit is contained in:
parent
cd26b2437d
commit
60e31803c9
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ After the receiver consents to the transfer, the sender transmits encrypted data
|
||||||
|
|
||||||
**Encryption**
|
**Encryption**
|
||||||
|
|
||||||
Encryption uses pbkdf2 (see [RFC2898](http://www.ietf.org/rfc/rfc2898.txt)) where the code phrase shared between the sender and receiver is used as the passphrase. For each of the two encrypted data blocks (metadata stored on relay server, and file data transmitted), a random 8-byte salt is used and a IV is generated according to [NIST Recommendation for Block ciphers, Section 8.2](http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf).
|
Encryption uses AES-256 with a pbkdf2 derived key (see [RFC2898](http://www.ietf.org/rfc/rfc2898.txt)) where the code phrase shared between the sender and receiver is used as the passphrase. For each of the two encrypted data blocks (metadata stored on relay server, and file data transmitted), a random 8-byte salt is used and a IV is generated according to [NIST Recommendation for Block ciphers, Section 8.2](http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf).
|
||||||
|
|
||||||
**Decryption**
|
**Decryption**
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue