Skip to content

Instantly share code, notes, and snippets.

View pointssoft's full-sized avatar
🎯
Focusing

pointssoft

🎯
Focusing
View GitHub Profile
@pointssoft
pointssoft / Encryption.js
Created November 24, 2022 16:00 — forked from ve3/Encryption.js
Encrypt and decrypt between programming languages (PHP & JavaScript).
/**
* Encryption class for encrypt/decrypt that works between programming languages.
*
* @author Vee Winch.
* @link https://stackoverflow.com/questions/41222162/encrypt-in-php-openssl-and-decrypt-in-javascript-cryptojs Reference.
* @link https://github.com/brix/crypto-js/releases crypto-js.js can be download from here.
*/
class Encryption {