secretstream-stream:libsodium crypto_secretstream的抽象编码API

时间:2024-05-26 14:29:14
【文件属性】:

文件名称:secretstream-stream:libsodium crypto_secretstream的抽象编码API

文件大小:6KB

文件格式:ZIP

更新时间:2024-05-26 14:29:14

JavaScript

secretstream-stream libsodium crypto_secretstream抽象编码API 总有一天,这里也会有一个流接口 用法 var secretstream = require ( 'secretstream-stream' ) // Parameters var header = Buffer . alloc ( secretstream . HEADERBYTES ) var key = secretstream . keygen ( ) // Init encryption side, writing into header Buffer, which needs to be shared // with decryption side var tx = secretstream . encrypt ( header , key ) var ciphe


【文件预览】:
secretstream-stream-master
----example.js(700B)
----test.js(932B)
----.travis.yml(2KB)
----LICENSE(744B)
----README.md(3KB)
----index.js(4KB)
----package.json(715B)

网友评论