Archive: How use Jasypt encrypation for password in NSIS script


How use Jasypt encrypation for password in NSIS script
Hi All,

Problem for encrypating the password in NSIS script can any one help me?

BasicPasswordEncryptor passwordEncryptor = new BasicPasswordEncryptor();
String encryptedPassword = passwordEncryptor.encryptPassword(userPassword);

I need to use this in the script file use the encrypted password.

Thanks in Advance.


Hmmm that looks like some C# code isn't it?
Try to create simple plug-in (.dll) with desired functionality and call this plug-in from NSIS.