PDA

View Full Version : How use Jasypt encrypation for password in NSIS script


dinesh.guntha
18th January 2012, 07:49
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.

T.Slappy
19th January 2012, 05:25
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.