Modifier and Type | Field and Description |
---|---|
static String |
CIPHER_ALG |
Constructor and Description |
---|
AESGCMNoPadding() |
Modifier and Type | Method and Description |
---|---|
String |
decrypt(String encryptedText,
String password)
Decrypts the encrypted text with password and returns clear text result.
|
String |
encrypt(String clearText,
String password)
Encrypts the clear text data with password and returns result.
|
public static final String CIPHER_ALG
public String encrypt(String clearText, String password) throws PlexusCipherException
Cipher
encrypt
in interface Cipher
PlexusCipherException
public String decrypt(String encryptedText, String password) throws PlexusCipherException
Cipher
decrypt
in interface Cipher
PlexusCipherException
Copyright © 2001–2024 Codehaus Plexus. All rights reserved.