/** * Decodes the given password from Base 64. * * @param value The password to decode * @return The decoded password */ public static String decodePassword(final String value) { return ConversionUtils.base64ToString(value); }
/** * Encodes the given password to Base 64. * * @param value The password to encode * @return The encoded password */ public static String encodePassword(final String value) { return ConversionUtils.stringToBase64(value); }