Encryptions in IRIS
I saw that IRIS has some built-in%SYSTEM.Encryption Encryption functions, but what should we do when we see encryption AES/ECB/PKCS5Padding ? I wonder if there is a good solution?
最近应用到加密技术,看到平台具有内置的%SYSTEM.Encryption 有具有一些内置的函数,但是,应用过程中碰到加密AES/ECB/PKCS5Padding,我们应该如何处理?不知道有没有好的解决方式?
Go to the original post written by @fajie xie
AES ECB encryption/decryption is done using AESEncode/AESDecode methods in the same package. They are deprecated so don't appear in documentation.
Thank you. Another problem is how to control the different filling methods.AESEncode/AESDecode Zero padding used,Want to use PKCS5Padding
You'll have to do it manually
http://www.herongyang.com/Cryptography/DES-JDK-What-Is-PKCS5Padding.html
I want to use AESEncode , but a string longer than 12,000 bytes will generate a MAXSTRING error. How to resolve