fix
This commit is contained in:
parent
771e3c0907
commit
6d86eece90
@ -17,7 +17,7 @@ yarn:
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const crypto = require('@scode/crypto-helper');
|
const crypto = require('@sapphirecode/crypto-helper');
|
||||||
|
|
||||||
const rand_hex = crypto.random_hex(16); // outputs 16 byte random hex
|
const rand_hex = crypto.random_hex(16); // outputs 16 byte random hex
|
||||||
const rand_salt = crypto.create_salt(); // same as random_hex, but with fixed length of 32 bytes
|
const rand_salt = crypto.create_salt(); // same as random_hex, but with fixed length of 32 bytes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user