nodejs createcipheriv invalid key length

Solutions on MaxInterview for nodejs createcipheriv invalid key length by the best coders in the world

showing results for - "nodejs createcipheriv invalid key length"
Moritz
31 Nov 2018
1let key = crypto.createHash('sha256').update(String(secret)).digest('base64').substr(0, 32);
2