ARIA
ARIA block cipher selector.
from oxcrypto.cipher.aria import ARIA
from oxcrypto.cipher.hazmat import decrypt_block, encrypt_block
cipher = ARIA.ARIA256
key = cipher.generate_key()
block = bytes(cipher.block_size)
assert decrypt_block(key, encrypt_block(key, block, cipher=cipher), cipher=cipher) == blockVariants: ARIA.ARIA128, ARIA.ARIA192, ARIA.ARIA256.
Standard: RFC 5794 and KS X 1213.
Pass the selector as cipher= to any mode. Raw single-block functions live in oxcrypto.cipher.hazmat.
The RustCrypto block-ciphers README states that this crate is not implemented in constant time and has no published audit. oxcrypto has not verified its timing behavior.