return (Provider)providerClass.newInstance();
}
public static String decrypt(Key key, String encryptedString)
throws EncryptorException {
byte[] encryptedBytes = Base64.decode(encryptedString);
<BUG>return decryptRaw(key, encryptedBytes);
</BUG>
}
<BUG>public static byte[] decrypt(Key key, byte[] encryptedBytes)
</BUG>
throws EncryptorException {

return (Provider)providerClass.newInstance();
}
public static String decrypt(Key key, String encryptedString)
throws EncryptorException {
byte[] encryptedBytes = Base64.decode(encryptedString);
return decryptUnencodedAsString(key, encryptedBytes);
}
public static byte[] decryptUnencodedAsBytes(Key key, byte[] encryptedBytes)
throws EncryptorException {
