Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 2
0
 /**
  * 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);
 }