Introduction

A cryptographic api for Clojure.

This library includes:

  • cryptographic hash algorithms (digest)
  • key derivation algorithms (kdf)
  • digital signatures
  • message authentication (mac)
  • block ciphers
  • stream ciphers
  • padding schemes
  • nonces and salts
  • X.509 certificates

Project Maturity

Since buddy-core is a young project there can be some API breakage.

Install

The simplest way to use buddy-core in a clojure project, is by including it in the dependency vector on your project.clj file:

[buddy/buddy-core "1.7.1"]

Or deps.edn:

buddy/buddy-core {:mvn/version "1.7.1"}

And is tested under JDK>=8.

Source Code

buddy-core is open source and can be found on github.

You can clone the public repository with this command:

git clone https://github.com/funcool/buddy-core

Run tests

For running tests just execute this:

lein test-all

License

buddy-core is licensed under Apache 2.0 License. You can see the complete text of the license on the root of the repository on LICENSE file.