* @param password the password to decrypt in base64 encoding
* @param key the key used to encrypt the password
* @return decrypted password in plain text
*/
public static String decryptPassword(String password, byte[] key) {
AesCipherService cipherService = new AesCipherService();
ByteSource decrypted = cipherService.decrypt(Base64.decode(password), key);
return new String(decrypted.getBytes());
}