Module symmetric

Module symmetric 

Source
Expand description

Constants for symmetric encryption algorithms

Constantsยง

AES128_KEY_SIZE
AES-128 key size in bytes
AES192_KEY_SIZE
AES-192 key size in bytes
AES256_KEY_SIZE
AES-256 key size in bytes
AES_BLOCK_SIZE
AES block size in bytes
CHACHA20_BLOCK_SIZE
ChaCha20 block size in bytes
CHACHA20_KEY_SIZE
ChaCha20 key size in bytes
CHACHA20_NONCE_SIZE
ChaCha20 nonce size in bytes
POLY1305_KEY_SIZE
Poly1305 key size in bytes
POLY1305_TAG_SIZE
Poly1305 tag size in bytes