Portainer before 2.20.2 improperly uses an encryption algorithm in the AesEncrypt function.
AesEncrypt