Skip to content

Instantly share code, notes, and snippets.

View ApolloRisky's full-sized avatar
Focusing

Cuong. Nguyen Quoc ApolloRisky

Focusing
View GitHub Profile
@ApolloRisky
ApolloRisky / encrypter.js
Created April 8, 2022 03:07 — forked from Agoreddah/encrypter.js
Laravel encrypt & decrypt in Node.js
// load variables
require('dotenv').config();
// load dependencies
const crypto = require('crypto');
'use strict';
const APP_KEY = process.env.APP_KEY;