Chapter 10. Jasypt encryption
You can use a command to use Jasypt to encrypt passwords in the console.
10.1. jasypt:encrypt
Abstract
Encrypts a password
Synopsis
jasypt:encrypt
[
password
] [
--help
]
Details
Use this command to encrypt a plain text password
JBossA-MQ:karaf@root> jasypt:encrypt passwordsample JBossA-MQ:karaf@root>(ENC)J0qF8Sk5P4KJRdyLs8LzQYRHfyXs7yWT/CyIDPqHqK2wwc6FbgwsTPK+WCsBgMK9
Arguments
The command's arguments are as follows:
Argument | Interpretation |
---|---|
password | Enter the password to be encrypted in plain text |
--help | Displays the online help for this command |