Skip to content

Instantly share code, notes, and snippets.

View lahirwisada's full-sized avatar

Lahir Wisada Santoso lahirwisada

View GitHub Profile
@Agoreddah
Agoreddah / encrypter.js
Last active October 2, 2024 07:13
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;