Skip to content

Instantly share code, notes, and snippets.

View rahultrivedi180's full-sized avatar
๐ŸŒ
Working from anywhere

Rahul Trivedi rahultrivedi180

๐ŸŒ
Working from anywhere
  • 23:42 (UTC +02:00)
View GitHub Profile
@rahultrivedi180
rahultrivedi180 / AesUtil.ts
Last active December 20, 2023 14:52 — forked from btxtiger/AesUtil.ts
Node.js - AES Encryption/Decryption with AES-256-GCM using random Initialization Vector + Salt
/**
* Cryptography Functions
*
* Forked from btxtiger/AesUtil.ts
* https://gist.github.com/btxtiger/e8eaee70d6e46729d127f1e384e755d6
*/
import crypto from 'crypto';
import { Password } from './types';