chacha20 icon indicating copy to clipboard operation
chacha20 copied to clipboard

Pure Python 2 and Python 3 implementations of the ChaCha20 stream cipher

chacha20: Pure Python 2 and Python 3 implementations of the ChaCha20 stream cipher ^^^^^^

chacha20.py contains the pure Python 2 implementation (which works with Python 2.4, 2.5, 2.6 and 2.7).

chacha20_python3.py contains the pure Python 3 implementation (which works with Python 3.5.3 and probably earlier Python 3.x).

More info about ChaCha20:

  • https://en.wikipedia.org/wiki/Salsa20
  • http://cr.yp.to/chacha.html

END