Skip to content

applied-mixnetworks/pylioness

Repository files navigation

README

PyPI Package travis coveralls

Warning

This code has not been formally audited by a cryptographer. It therefore should not be considered safe or correct. Use it at your own risk!

overview

pylioness is a parameterized implementation of the LIONESS wide block cipher. Use it with AES in counter mode + Sha256 or Chacha20 + Blake2b.

details

Lioness is a wide block cipher composed using a stream cipher and a keyed hash function.

read the Lioness paper: Two Practical and Provably Secure Block Ciphers: BEAR and LION by Ross Anderson and Eli Biham

https://www.cl.cam.ac.uk/~rja14/Papers/bear-lion.pdf

pylioness is a parameterized implementation of the LIONESS wide block cipher which can utilize any stream cipher and keyed digest as long as the digest output is equal to the stream cipher key size. We've provided an AES in counter mode + SHA256 and Chacha20 + Blake2b Lioness implementations with code samples and verified unit test vectors.

About

LIONESS wide block cipher for python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages