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.
A precomputed key.
Encrypt a block with key schedule generated on-the-go.