Socket
Socket
Sign inDemoInstall

@polkadot/util-crypto

Package Overview
Dependencies
22
Maintainers
2
Versions
1351
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @polkadot/util-crypto

A collection of useful crypto utilities for @polkadot


Version published
Weekly downloads
98K
decreased by-13.07%
Maintainers
2
Created
Weekly downloads
 

Changelog

Source

12.4.1 Aug 17, 2023

Changes:

  • Add support for Ledger signRaw, as exposed by lower-level
  • Update code to use ?. shortcuts where appropriate
  • Adjust u8aToBuffer & isBuffer typings to not require Buffer
  • Use stringify/import.meta.url helpers in specs
  • Upgrade dependencies to latest stable versions

Readme

Source

@polkadot/util-crypto

Various useful cyrpto utility functions that are used across all projects in the @polkadot namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.

Usage

Installation -

yarn add @polkadot/util-crypto

Functions can be imported as follows:

import { mnemonicGenerate } from '@polkadot/util-crypto';

FAQs

Last updated on 17 Aug 2023

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