Module chaskey::cipher [] [src]

The Chaskey block cipher.

The Chaskey MAC is, conceptually, constructed from this cipher, and the security proofs for the MAC appeal to the cipher's properties.

Disclaimer

This code has not been reviewed for security. Use at your own risk.

References

Reexports

pub use core::*;

Functions

decrypt

Decryption function for the Chaskey block cipher, parametrized by the permutation to use.

encrypt

Encryption function for the Chaskey block cipher, parametrized by the permutation to use.