Updated readme

This commit is contained in:
Mark Qvist 2024-09-05 15:21:45 +02:00
parent b42e075be0
commit 6a392fdb0f
1 changed files with 5 additions and 3 deletions

View File

@ -306,9 +306,11 @@ general-purpose CPUs and on microcontrollers. The necessary primitives are:
- X22519 for ECDH key exchanges - X22519 for ECDH key exchanges
- HKDF for key derivation - HKDF for key derivation
- Modified Fernet for encrypted tokens - Modified Fernet for encrypted tokens
- AES-128 in CBC mode - Ephemeral keys derived from an ECDH key exchange on Curve25519
- HMAC for message authentication - AES-128 in CBC mode with PKCS7 padding
- No Fernet version and timestamp fields - HMAC using SHA256 for message authentication
- IVs are generated through os.urandom()
- No Fernet version and timestamp metadata fields
- SHA-256 - SHA-256
- SHA-512 - SHA-512