Each Time user login encrypted password is going to the server. I have tried to generate the encrypted password as adding a java script action and inside the javascript action I have written the below code. While trying to execute I am getting the error ReferenceError: "RSAKey" is not defined. I am very new to neoload. Can you please suggest how to resolve this
var publicKey = new RSAKey();
context.variableManager.setValue("c_modulusHexString",c_modulusHexString);
context.variableManager.setValue("c_publicExponentHexString",c_publicExponentHexString);
publicKey.setPublic(c_modulusHexString, c_publicExponentHexString);
var initSecureRandom = new SecureRandom();
var result = publicKey.encrypt(MyPassword);
var Password= hex2b64(result);
context.variableManager.setValue("Password",Password);