Socket
Socket
Sign inDemoInstall

@iota/crypto.js

Package Overview
Dependencies
2
Maintainers
9
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
Weekly downloads
1.9K
increased by25.42%
Maintainers
9
Created
Weekly downloads
 

Readme

Source

@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

Keywords

FAQs

Last updated on 21 Jan 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