public class MavenPasswordObfuscator extends Object
| Constructor and Description |
|---|
MavenPasswordObfuscator() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decrypt(byte[] encryptedPayload,
String passPhrase) |
static String |
decrypt(String base64Encrypted,
String passPhrase) |
static byte[] |
encrypt(byte[] payload,
String passPhrase) |
static String |
encrypt(String clearText,
String passPhrase) |
static boolean |
isObfuscatedPassword(String passphrase) |
public static byte[] encrypt(byte[] payload,
String passPhrase)
throws Exception
Exceptionpublic static byte[] decrypt(byte[] encryptedPayload,
String passPhrase)
throws Exception
Exceptionpublic static String encrypt(String clearText, String passPhrase) throws Exception
Exceptionpublic static String decrypt(String base64Encrypted, String passPhrase) throws Exception
Exceptionpublic static boolean isObfuscatedPassword(String passphrase)
Copyright © 2019 aQute SARL. All rights reserved.