module Crypto::IGE
Defined in:
crypto/cipher/aes/ige.crClass Method Summary
-
.decrypt(data : Bytes, key : Bytes, iv : Bytes) : Bytes
Decrypt a buffer using IGE256.
-
.encrypt(data : Bytes, key : Bytes, iv : Bytes) : Bytes
Encrypt a buffer using IGE256.
Class Method Detail
def self.decrypt(data : Bytes, key : Bytes, iv : Bytes) : Bytes
#
Decrypt a buffer using IGE256.
data
must be a non-empty buffer who's length is a multiple
of 16 bytes. key
and iv
must each contain 32 bytes.
def self.encrypt(data : Bytes, key : Bytes, iv : Bytes) : Bytes
#
Encrypt a buffer using IGE256.
data
must be a non-empty buffer who's length is a multiple
of 16 bytes. key
and iv
must each contain 32 bytes.