Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k views
in Technique[技术] by (71.8m points)

Android 如何对AES加密的视频文件进行解密?

百度了好久了 调试了好几个小时,目前是加密后再解密,报错:javax.crypto.IllegalBlockSizeException: last block incomplete in decryption ,一顿百度 ,正在解决。。有无大佬有完整方案? 我测试用的私钥:1234512345123456 ,视频加密的开发者用的私钥是:UINT8?key[16]?=?{0x11,?0x22,?0x33,?0x44,?0x55,?0x66,?0x77,?0x88,??0x99,?0x00,?0xAA,?0xBB,?0xCC,?0xDD,?0xEE,?0xFF}; 我在程序里声明的是 :char privateKey[] = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0x00, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF}; 请指教。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...