Skip to content

Instantly share code, notes, and snippets.

View sansob's full-sized avatar
🏠
Working from home

Sansob sansob

🏠
Working from home
View GitHub Profile
@sansob
sansob / aes-256-cbc-test.js
Created February 18, 2021 02:30 — forked from brettscott/aes-256-cbc-test.js
AES 256 CBC encryption between Golang and Node JS
// Node v6.9.0
//
// TEST FILE (cut down for simplicity)
// To ensure Golang encrypted string can be decrypted in NodeJS.
//
let crypto;
try {
crypto = require('crypto');