module Crypto::CTR
Defined in:
crypto/cipher/aes/ctr.crClass Method Summary
-
.xcrypt(data : Bytes, key : Bytes, iv : Bytes, state : Bytes = Bytes[0]) : Bytes
Encrypt/decrypt a buffer using CTR256.
Class Method Detail
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.