Skip to content

Instantly share code, notes, and snippets.

test
@trevp
trevp / cbckdf.py
Last active December 20, 2015 16:19
Simple password KDF. Parallelizable. Efficient in high-level languages.
#!/usr/bin/env python
"""
Experimental password KDF using AES256-CBC.
Written by Trevor Perrin.
Hereby placed in the public domain.
Thanks to Joe Bonneau and Marsh Ray for feeback.
Requires pycrypto. Try "easy_install pycrypto".
Ex: