@iota/crypto.js
TypeScript icon, indicating that this package has built-in type declarations

1.8.6 • Public • Published

@iota/crypto.js

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

Install

npm install @iota/crypto.js

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

/@iota/crypto.js/

    Package Sidebar

    Install

    npm i @iota/crypto.js

    Weekly Downloads

    609

    Version

    1.8.6

    License

    Apache-2.0

    Unpacked Size

    2 MB

    Total Files

    109

    Last publish

    Collaborators

    • tuditi
    • msarcevic
    • braniota
    • lmoe
    • domschiener
    • lexerr
    • martyniota
    • nothingismagick
    • laumair
    • iota_ci
    • rubenkoch
    • brord