sodium-secretstream
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -16,3 +16,3 @@ const sodium = require('sodium-universal') | ||
class Push { | ||
constructor (key, state = b4a.allocUnsafe(STATEBYTES), header = b4a.allocUnsafe(HEADERBYTES)) { | ||
constructor (key, state = b4a.allocUnsafeSlow(STATEBYTES), header = b4a.allocUnsafeSlow(HEADERBYTES)) { | ||
if (!TAG_FINAL) throw new Error('JavaScript sodium version needs to support crypto_secretstream_xchacha20poly') | ||
@@ -39,3 +39,3 @@ | ||
class Pull { | ||
constructor (key, state = b4a.allocUnsafe(STATEBYTES)) { | ||
constructor (key, state = b4a.allocUnsafeSlow(STATEBYTES)) { | ||
if (!TAG_FINAL) throw new Error('JavaScript sodium version needs to support crypto_secretstream_xchacha20poly') | ||
@@ -42,0 +42,0 @@ |
{ | ||
"name": "sodium-secretstream", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Wraps libsodiums secretstream in a higher level abstraction", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5496