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
Exception
public static byte[] decrypt(byte[] encryptedPayload, String passPhrase) throws Exception
Exception
public static String encrypt(String clearText, String passPhrase) throws Exception
Exception
public static String decrypt(String base64Encrypted, String passPhrase) throws Exception
Exception
public static boolean isObfuscatedPassword(String passphrase)
Copyright © 2021 aQute SARL. All rights reserved.