Initial commit
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
const { randomBytes } = require('crypto')
|
||||
|
||||
const { IVLENGTHS } = require('../registry')
|
||||
|
||||
module.exports = alg => randomBytes(IVLENGTHS.get(alg) / 8)
|
||||
Reference in New Issue
Block a user