Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs createcipheriv invalid key length

let key = crypto.createHash('sha256').update(String(secret)).digest('base64').substr(0, 32);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nodejs #createcipheriv #invalid #key #length
ADD COMMENT
Topic
Name
4+8 =