Skip to content

Instantly share code, notes, and snippets.

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

Rahul Trivedi rahultrivedi180

๐ŸŒ
Working from anywhere
  • 12:53 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am rahultrivedi180 on github.
  • I am rahultrivedi180 (https://keybase.io/rahultrivedi180) on keybase.
  • I have a public key ASBt5p0_n5ouqes9F5lKXuohX6XUNHERdp9NwdBY3hh9Wgo

To claim this, I am signing this object:

@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';