Crate speck_cbc [] [src]

A Rust implementation of the Cipher Block Chaining (CBC) mode of the SPECK cipher.

Don't use this unless you know what you are doing, as practical attacks exist against CBC mode.

Constants

BLOCK_SIZE

The size of SPECK's blocks and keys.

Functions

decrypt

Decrypt data with SPECK-CBC.

encrypt

Encrypt data with SPECK-CBC.