Skip to content
Advertisement

Tag: password-encryption

How to hide the password in the command “java -Djasypt.encryptor.password=somepassword -jar name.jar”

I am using Jasypt encryption and specifying the property value within ENC() in the properties file. The decryption password is sent through the command-line argument like this java -Djasypt.encryptor.password=somepassword -jar name.jar. Everything is working fine but the problem is when I search for the running process, it shows the password as well. Is there a way to hide the encryption

Advertisement