Last active
December 13, 2018 21:59
-
-
Save rajeevshukla/17c76a5230df37d71eeb85208abcb4cc to your computer and use it in GitHub Desktop.
Encrypting database password with secret key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<user_home>\.m2\repository\org\jasypt\jasypt\1.9.2>java -cp jasypt-1.9.2.j | |
ar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI input="Tgi$912" password=vo | |
ipsecretz algorithm=PBEWithMD5AndDES | |
----ENVIRONMENT----------------- | |
Runtime: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.181-b13 | |
----ARGUMENTS------------------- | |
algorithm: PBEWithMD5AndDES | |
input: Tgi$912 | |
password: voipsecretz | |
----OUTPUT---------------------- | |
kmRyn5KQFd+M5hWMZEey1A== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment