cryptojs_rust 0.1.3

A Rust implementation of CryptoJS encryption/decryption functionality
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
const CryptoJS = require('crypto-js');

const message = "Hello, World!";
const password = "test123";

// Encrypt
const encrypted = CryptoJS.AES.encrypt(message, password).toString();
console.log('Encrypted:', encrypted);

// Verify decryption
const decrypted = CryptoJS.AES.decrypt(encrypted, password).toString(CryptoJS.enc.Utf8);
console.log('Decrypted:', decrypted);