Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

AES Encryption using the jar from com.google.apigee.callouts.AesCryptoCallout

Hi @dchiesa1 ,

Hope u are doin great!

I was working on AES encryption using the JAR provided on https://github.com/DinoChiesa/Apigee-CustomPolicy-AesCrypto/tree/main/bundle

The configurations that I'm looking for are - mode - CBC & padding - NoPadding

With the above mentioned requirements, I need to turn off salt & IV properties and is there any way that I can disable them? Cos the code is taking the default values and I don't want these fields at all.

Thanks in advance!

 

0 1 87
1 REPLY 1

Hey there

Disabling? the IV when you use AES in CBC mode seems like a bad idea.  

Of course, the code is open source so you are free to go and change it as you see fit. 

Good luck!