module

Crypto::IGE

Class methods

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.

Source
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.

Source