mirror of
https://github.com/emn178/js-sha512.git
synced 2026-08-12 20:31:34 +08:00
update README
This commit is contained in:
@@ -24,7 +24,6 @@ For node.js, you can use this command to install:
|
|||||||
npm install js-sha512
|
npm install js-sha512
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```
|
|
||||||
You could use like this:
|
You could use like this:
|
||||||
```JavaScript
|
```JavaScript
|
||||||
sha512('Message to hash');
|
sha512('Message to hash');
|
||||||
@@ -42,7 +41,7 @@ sha512 = require('js-sha512').sha512;
|
|||||||
sha384 = require('js-sha512').sha384;
|
sha384 = require('js-sha512').sha384;
|
||||||
sha512_256 = require('js-sha512').sha512_256;
|
sha512_256 = require('js-sha512').sha512_256;
|
||||||
sha512_224 = require('js-sha512').sha512_224;
|
sha512_224 = require('js-sha512').sha512_224;
|
||||||
|
```
|
||||||
### Methods
|
### Methods
|
||||||
|
|
||||||
#### sha512(str, asciiOnly)
|
#### sha512(str, asciiOnly)
|
||||||
|
|||||||
Reference in New Issue
Block a user