A general-purpose cryptography library