module Crypto::IGE

Defined in:

crypto/cipher/aes/ige.cr

Class Method Summary

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.


[View source]
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.


[View source]