Matter::Crypto::AES::Aes
Inherits Reference < Object
AES implementation using OpenSSL's proven cipher
Constructors
new(key : Bytes)
SourceInstance methods
decrypt(ct : WordArray, pt : WordArray | Nil = nil) : WordArray
Decrypt a block (16 bytes represented as 4 words)
encrypt(pt : WordArray, ct : WordArray | Nil = nil) : WordArray
Encrypt a block (16 bytes represented as 4 words) Operates on word array and returns encrypted word array