🗯️
It's either a binary trap, or it's not.
Staff+ Engineer - full-stack TypeScript. Formerly PHP. Co-founder of @techlahoma. Creator of BudgetSheet, Hyperspan, Frisby.js, phpdotenv, valitron, and more
- Oklahoma City, OK
-
11:59
(UTC -05:00) - http://www.vancelucas.com
- @vlucas
Highlights
- Pro
Pinned Loading
-
-
Stronger Encryption and Decryption i...
Stronger Encryption and Decryption in Node.js 1import { createCipheriv, createDecipheriv, randomBytes } from "crypto";
23const ENCRYPTION_KEY: string = process.env.ENCRYPTION_KEY || ""; // Must be 256 bits (32 characters)
4const IV_LENGTH: number = 16; // For AES, this is always 16
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.