Crypto::CTR
Class methods
xcrypt(data : Bytes, key : Bytes, iv : Bytes, state : Bytes = Bytes[0]) : Bytes
Encrypt/decrypt a buffer using CTR256.
data must be a non-empty buffer who's length is a multiple
of 16 bytes. key must be a 32 byte encryption key and iv must
be 16 bytes.