brix / crypto-js

JavaScript library of crypto standards.
Other
15.74k stars 2.38k forks source link

CryptoJS.DES.encrypt(message, key, cfg) #197

Open Mathround opened 5 years ago

Mathround commented 5 years ago

var ciphertext = CryptoJS.DES.encrypt(message, key, cfg); What does the third parameter mean?

elliott-greaves-babylon-health commented 5 years ago

I've been trying to understand this one too.

elliott-greaves-babylon-health commented 5 years ago

Hi @Mathround, Reading through some of the other issues, I learned the 3rd parameter is an Initialisation Vector

Reference: https://github.com/brix/crypto-js/issues/208

CroMarmot commented 4 years ago

Same problem, any solution code?

caiqichang commented 2 years ago

+1 are there any more documentation ?