Skip to content

Instantly share code, notes, and snippets.

View wit3's full-sized avatar

Salvatore Scalzi wit3

  • Salsomaggiore Terme, Emilia Romagna, Italy
  • 21:10 (UTC +01:00)
  • X @_Wit3
View GitHub Profile
@wit3
wit3 / encrypter.js
Created April 4, 2022 09:28 — 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;