|
Module Cryptokit.Blockmodule Block:
The
Block module provides classes that implements
popular block ciphers, chaining modes, and wrapping of a block cipher
as a general transform or as a hash function.
The classes can be composed in a Lego-like fashion, facilitating
the integration of new block ciphers, modes, etc.class type block_cipher =
Abstract interface for a block cipher.
class cipher :
Wraps a block cipher as a general transform.
class cipher_padded_encrypt :
Like
Cryptokit.Block.cipher , but performs padding on the input data
as specified by the first argument.
class cipher_padded_decrypt :
Like
Cryptokit.Block.cipher , but removes padding on the output data
as specified by the first argument.
class mac :
Build a MAC (keyed hash function) from the given block cipher.
class mac_final_triple :
Build a MAC (keyed hash function) from the given block ciphers
c1 , c2 and c3 .
class aes_encrypt :
The AES block cipher, in encryption mode.
class aes_decrypt :
The AES block cipher, in decryption mode.
class des_encrypt :
The DES block cipher, in encryption mode.
class des_decrypt :
The DES block cipher, in decryption mode.
class triple_des_encrypt :
The Triple-DES block cipher, in encryption mode.
class triple_des_decrypt :
The Triple-DES block cipher, in decryption mode.
class cbc_encrypt :
Add Cipher Block Chaining (CBC) to the given block cipher
in encryption mode.
class cbc_decrypt :
Add Cipher Block Chaining (CBC) to the given block cipher
in decryption mode.
class cfb_encrypt :
Add Cipher Feedback Block (CFB) to the given block cipher
in encryption mode.
class cfb_decrypt :
Add Cipher Feedback Block (CFB) to the given block cipher
in decryption mode.
class ofb :
Add Output Feedback Block (OFB) to the given block cipher.
|