hmac-stream:流式HMAC

时间:2021-05-25 15:25:06
【文件属性】:
文件名称:hmac-stream:流式HMAC
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-25 15:25:06
JavaScript hmac流 流式hmac身份验证器,该思想用于“先加密后再MAC”(EtM)方法,这意味着您需要类似的流程。 。 var hmacStream = require ( 'hmac-stream' ) var authenticator = new hmacStream . Authenticate ( 'key' ) ; var verifier = new hmacStream . Verify ( 'key' ) ; dataSource . pipe ( cipher ) . pipe ( authenticator ) . pipe ( outStream ) ; //then inStream . pipe ( verifier ) . pipe ( decipher ) . pipe ( doStuff ) ; 密码和解密可以是任何需要进行身份验证的流。 程序: 取
【文件预览】:
hmac-stream-master
----verify.js(4KB)
----auth.js(2KB)
----test.js(14KB)
----utils.js(2KB)
----.travis.yml(17B)
----index.js(81B)
----readme.md(3KB)
----cipherbase.js(1KB)
----package.json(701B)

网友评论