TakWolf-Deprecated / CNode-Material-Design

CNode 社区第三方 Android 客户端,原生 App,Material Design 风格,支持夜间模式。
https://cnodejs.org
Apache License 2.0
1.34k stars 347 forks source link

Crypto 这个类解密出错 #49

Closed zhangle1 closed 7 years ago

zhangle1 commented 7 years ago

在方法 public byte[] decrypt(@NonNull SecretKey secret, @NonNull IvParameterSpec iv, @NonNull byte[] data)

cipher.init(Cipher.DECRYPT_MODE, secret); 少了一个iv参数 , 在手机nexus 5s 上面报错切换夜间模式的时候报错。

不知道是不是我的问题=。=

TakWolf commented 7 years ago

异常栈可以粘贴一下吗?