Crate speck [] [src]

Implementation of the SPECK block cipher.

SPECK is a really simple block cipher designed by the NSA. It is famous for its simple structure and code size, which can fit in just a couple of lines, while still preserving security.

Structs

Key

A precomputed key.

Functions

encrypt_block

Encrypt a block with key schedule generated on-the-go.