@fruitsjs/crypto
Version:
Cryptographic functions for building Fruits Eco-Blockchain apps.
9 lines • 318 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.encryptAES = void 0;
const CryptoJS = require("crypto-js");
const encryptAES = (text, key) => {
return CryptoJS.AES.encrypt(text, key).toString();
};
exports.encryptAES = encryptAES;
//# sourceMappingURL=encryptAES.js.map