crypto/index.js

6 lines
197 B
JavaScript
Raw Normal View History

2023-09-15 17:10:53 +00:00
const crypto = require('./crypto');
const encrypted_key = crypto.encrypt("HelloWorld");
console.log(encrypted_key);
const decrypted_key = crypto.decrypt(encrypted_key);
console.log(decrypted_key);