I want to implement the following function using python, it uses public key to encrypt the password and then using base64 to encode it. I have searched many answers but I didn’t find a solution, I think probably I didn’t understand them. Would you please give me some advice? I use the following code, but it raises error M2Crypto.RSA.RSAError. Answer
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