UNPKG

473 BMarkdownView Raw
1# @polkadot/util-crypto
2
3Various useful cyrpto utility functions that are used across all projects in the [@polkadot](https://polkadot.js.org) namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.
4
5## Usage
6
7Installation -
8
9```
10yarn add @polkadot/util-crypto
11```
12
13Functions can be imported as follows:
14
15```js
16import { mnemonicGenerate } from '@polkadot/util-crypto';
17```