【发布时间】:2015-02-14 17:23:14
【问题描述】:
我正在研究 android 中的 AES 加密和解密。我有一个使用 AES/CBC 加密的音频文件。我有钥匙和 IV(初始化向量)。
我已经阅读了一些链接。来自this
SecretKeySpec skeySpec = new SecretKeySpec(raw, "AES");
使用的 SecretkeySpec 类。我应该在哪里使用我的密钥和 IV 值?
我只需要解密前 256 个字节的数据。我怎样才能做到这一点?
【问题讨论】:
标签: android encryption aes aescryptoserviceprovider