nodejs createcipheriv invalid key length code example
Example: nodejs createcipheriv invalid key length
let key = crypto.createHash('sha256').update(String(secret)).digest('base64').substr(0, 32);
let key = crypto.createHash('sha256').update(String(secret)).digest('base64').substr(0, 32);