Socket
Socket
Sign inDemoInstall

@iota/crypto.js

Package Overview
Dependencies
2
Maintainers
12
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @iota/crypto.js

IOTA JavaScript Cryptography Library


Version published
Maintainers
12
Created

Readme

Source

@iota/crypto.js

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

Install

npm install @iota/crypto.js@next

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

Keywords

FAQs

Last updated on 19 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc