【文件属性】:
文件名称:safeguard:Safeguard使加密加密散列变得更容易,更方便
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-06 06:56:10
JavaScript
保障
Safeguard使使用加密的散列变得更容易,更方便。
更轻松
Safeguard负责加密设置,因此API很简单。
var safeguard = require ( 'safeguard' ) ;
// Hash some text
safeguard . hasher ( text , function ( err , hash ) {
// Do some things and stuff...
} ) ;
// Compare some text to the hash
safeguard . compareToHash ( text , hash , function ( err , isMatch ) {
// Do some things and stuff...
} ) ;
方便的
加密设置和盐值封装在每个哈希中,因此您不必对其进行管理。 与加密不同,您必
【文件预览】:
safeguard-master
----.gitignore(46B)
----test()
--------libs()
--------index.js(49B)
----libs()
--------index.js(12KB)
----package.json(1011B)
----readme.md(6KB)
----.travis.yml(223B)
----license(1KB)