Skip to content

Instantly share code, notes, and snippets.

View networkException's full-sized avatar
🐞
try to catch(this: Exception);

networkException

🐞
try to catch(this: Exception);
View GitHub Profile
@kleinesfilmroellchen
kleinesfilmroellchen / serenity-stand.md
Last active October 9, 2022 14:31
SerenityOS stand at FOSDEM 2023
@siwalikm
siwalikm / aes-256-cbc.js
Last active April 26, 2024 12:34
AES-256-CBC implementation in nodeJS with built-in Crypto library
'use strict';
const crypto = require('crypto');
const ENC_KEY = "bf3c199c2470cb477d907b1e0917c17b"; // set random encryption key
const IV = "5183666c72eec9e4"; // set random initialisation vector
// ENC_KEY and IV can be generated as crypto.randomBytes(32).toString('hex');
const phrase = "who let the dogs out";
var encrypt = ((val) => {