1.8.6 • Published 1 year ago

@iota/crypto.js v1.8.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

@iota/crypto.js

The code in the package is provides crypto implementations used by other packages.

Install

npm install @iota/crypto.js@1.9.0-stardust.1

Usage

import { Converter } from "@iota/util.js";
import { Blake2b } from "@iota/crypto.js";

const sum = Blake2b.sum512(Converter.utf8ToBytes("abc"));

console.log(Converter.bytesToHex(sum));

API

The class and method documentation can be found in ./docs/API.md