I used CryptoJS instead of nodejs crypto module because I just use the native JavaScript,but some codes can't work.
function aesEncrypt(text, secKey) {
const _text = text
const lv = new Buffer('0102030405060708', 'binary')
const _secKey = new Buffer(secKey, 'binary')
const cipher = [login to view URL]('AES-128-CBC', _secKey, lv)
let encrypted = [login to view URL](_text, 'utf8', 'base64')
encrypted += [login to view URL]('base64')
return encrypted
}
Crypto JS Java Encryption & JavaScript Decryption Using AES Algorithm
I need to decrypt video that is running encrypted on web any buddy who is expert in programming
also have knowledge about knowledge about crypto js .It's a solid crypto library, with a lot of functionality. It implements hashers, HMAC, PBKDF2 and ciphers. In this case ciphers is what you need. Check out the quick-start quite on the project's homepage.
Hi, there. I have just read your job description with care. As a advanced Java and Javascript expert, I can help you perfectly. Please send me a message so we can discuss it. Thank you, warm regards.