SidharthMishra
4 years agoNew Contributor
CryptoJS encryption in SoapUI (open source)
Hello,
Following is the code from the front-end of my application :
******************************************************
import * as cryptoJS from 'crypto-js';
secretkey: string = 'MySecretKey';
encryptText(value: string) {
let encryptText: string = cryptoJS.AES.encrypt(value, this.secretkey).toString();
return encryptText;
}
**********************************************
I need this to work in Groovy/Javascript in SoapUI(5.6.0)
I've already placed the crypto-js.jar ( https://jar-download.com/artifact-search/crypto-js )
in C:\SmartBear\SoapUI-5.6.0\bin\ext
I failed to get the encryption.
NEED HELP!!
Thanks in advance.