How to use the ECBEncrypt function from crypto-js

Find comprehensive JavaScript crypto-js.ECBEncrypt code examples handpicked from public code repositorys.

4
5
6
7
8
9
10
11
12
13
const Encrypt = require('jsencrypt');

/**
 *  3DES 加解密
    // 加密
    let a = CryptoJS.ECBEncrypt('123456');
    console.log('加密',a);
    // 解密
    let b = CryptoJS.ECBDecrypt(a);
    console.log('解密', b);
fork icon2
star icon8
watch icon2

+ 5 other calls in file