
sprint encode (plan text) get enc password
Reference links:
How to encrypt user passwords
http://www.jasypt.org/howtoencryptuserpasswords.html
Jasypt stands for Java Simplified Encryption. It provides basic encryption of plain text, numbers, and binary files to protect confidential data. It is completely thread-safe and also provides high performance in multiprocessor environments.
Jasypt provides simpler methods for encrypting and decrypting text, and you do not need any in-depth knowledge of cryptography to start using it. Simply enter the plain text to be encrypted, and Jasypt will complete the rest of the computation for you. This encryption is one-way encryption, and it also provides two encryption mechanisms.
When implementing two-way encryption, in addition to providing the plain text, you also need to provide a secret text, and this secret text can be used to decrypt the encrypted text.
By default, Jasypt uses the PBEWithMD5AndDES encryption algorithm, but it also provides the option to choose other stronger encryption options, such as PBEWithMD5AndTripleDES.
spring:
application:
name: argus
version: 2.0
data:
elasticsearch: #ElasticsearchProperties
cluster-name: idss-es #默认即为elasticsearch
datasource:
url: jdbc:mysql://x.x.x.x:3306/test?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
driver-class-name: com.mysql.jdbc.Driver
username: ENC(vpIBjT3RT8mf6pBjiKJuqA==) root
password: ENC(xxxxxxxxxxxxx==)
# User, Password encryptor salt
jasypt:
encryptor:
password: EbfYkitulv73I2p0mXI50JMXoaxZTKJ7
The free Jasypt online encryption and decryption tool below provides one method as well as two (simple) encryption and decryption options, and also provides an option to compare plain text with Jasypt-encrypted passwords.
username: ENC(vpIBjT3RT8mf6pBjiKJuqA==)
# User, Password encryptor salt
password: EbfYkitulv73I2p0mXI50JMXoaxZTKJ7
https://www.devglan.com/online-tools/jasypt-online-encryption-decryption

username: ENC(vpIBjT3RT8mf6pBjiKJuqA==) to username: root
$ java -jar jasyptDecrypt.jar
_ _____ _ _____ _
| | | __ \| | | __ \ | |
| | __ _ ___ _ _| |__) | |_| | | | ___ ___ _ __ _ _ _ __ | |_
_ | |/ _` / __| | | | ___/| __| | | |/ _ \/ __| '__| | | | '_ \| __|
| |__| | (_| \__ \ |_| | | | |_| |__| | __/ (__| | | |_| | |_) | |_
\____/ \__,_|___/\__, |_| \__|_____/ \___|\___|_| \__, | .__/ \__|
__/ | __/ | |
|___/ |___/|_|
Usage:
[*] java -jar jasyptDecrypt.jar decode password EncodeText
[*] java -jar jasyptDecrypt.jar encode password Text
$ java -jar jasyptDecrypt.jar encode EbfYkitulv73I2p0mXI50JMXoaxZTKJ7 root
_ _____ _ _____ _
| | | __ \| | | __ \ | |
| | __ _ ___ _ _| |__) | |_| | | | ___ ___ _ __ _ _ _ __ | |_
_ | |/ _` / __| | | | ___/| __| | | |/ _ \/ __| '__| | | | '_ \| __|
| |__| | (_| \__ \ |_| | | | |_| |__| | __/ (__| | | |_| | |_) | |_
\____/ \__,_|___/\__, |_| \__|_____/ \___|\___|_| \__, | .__/ \__|
__/ | __/ | |
|___/ |___/|_|
Usage:
[*] java -jar jasyptDecrypt.jar decode password EncodeText
[*] java -jar jasyptDecrypt.jar encode password Text
[-] Encrypt:
root >>> O9NmYDaJLpJQ6wl2/3TVpg==
$ java -jar jasyptDecrypt.jar decode EbfYkitulv73I2p0mXI50JMXoaxZTKJ7 vpIBjT3RT8mf6pBjiKJuqA==
_ _____ _ _____ _
| | | __ \| | | __ \ | |
| | __ _ ___ _ _| |__) | |_| | | | ___ ___ _ __ _ _ _ __ | |_
_ | |/ _` / __| | | | ___/| __| | | |/ _ \/ __| '__| | | | '_ \| __|
| |__| | (_| \__ \ |_| | | | |_| |__| | __/ (__| | | |_| | |_) | |_
\____/ \__,_|___/\__, |_| \__|_____/ \___|\___|_| \__, | .__/ \__|
__/ | __/ | |
|___/ |___/|_|
Usage:
[*] java -jar jasyptDecrypt.jar decode password EncodeText
[*] java -jar jasyptDecrypt.jar encode password Text
[-] Decrypt:
vpIBjT3RT8mf6pBjiKJuqA== >>> root