crypto-shortcuts

2020-10-16

Shorthand functions for common cryptography tasks such as hashing, encrypting, and encoding.

Upstream URL

github.com/Shinmera/crypto-shortcuts

Author

Nicolas Hafner <shinmera@tymoon.eu>

Maintainer

Nicolas Hafner <shinmera@tymoon.eu>

License

zlib
README
Provided Systems

About Crypto Shortcuts

This is a small wrapper library around ironclad and cl-base64 to provide quick and easy access to frequently used cryptography functionality like hashing, encoding and encrypting.

How To

(cryptos:from-base64 (cryptos:to-base64 "CLがすごいです。"))

(cryptos:decrypt (cryptos:encrypt "Lispy Secrets, oooOOooo" "1234567890123456") "1234567890123456")

(cryptos:pbkdf2-hash "My passwords have never been this secure, whoa nelly!" "salty snacks")

(cryptos:simple-hash "I guess not everyone can afford PBKDF2." "crisps")

(cryptos:md5 "MD5 hashes are weak, but still sometimes useful.")

(cryptos:sha512 "If you don't need hash iterations or salts like simple-hash provides, this will do too.")

Dependencies (3)

  • cl-base64
  • flexi-streams
  • ironclad
  • GitHub
  • Quicklisp