Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 981 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 981 Bytes

pod-fluree-crypto

This is a Babashka pod for the fluree.crypto library

Building

Pods are built as native binaries for their respective platforms, so this uses GraalVM native-image. You need to install a Graal JDK and the native-image tool and then run make in this repo.

This should produce a binary named pod-fluree-crypto for your platform in the project root.

Usage

(require '[babashka.pods :as pods])
(pods/load-pod "path/to/pod-fluree-crypto")
(require '[pod.fluree.crypto :as crypto])

(crypto/sha2-256 "foo") ; => "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"

License

Copyright (c) 2021-2022 Fluree, PBC

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/

SPDX-License-Identifier: EPL-2.0