Question Michael Lei · Apr 26, 2021

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,我们应该如何处理?不知道有没有好的解决方式?

Comments

Sergei Shutov · Apr 28, 2021

AES ECB encryption/decryption is done using AESEncode/AESDecode methods in the same package. They are deprecated so don't appear in documentation.

0
fajie xie  Apr 28, 2021 to Sergei Shutov

Thank you. Another problem is how to control the different filling methods.AESEncode/AESDecode  Zero padding used,Want to use PKCS5Padding

0
姚 鑫  Mar 4, 2024 to Sergei Shutov

I want to use AESEncode , but a string longer than 12,000 bytes will generate a MAXSTRING error. How to resolve

0