Forum Discussion
RezaSh_129343
Nimbostratus
Aug 14, 2013Can I encrypt specific nodes within HTTP payload with iRules?
Hi,
I have a requirement to encrypt some of the contents within an HTTP request body. Is this possible with iRules? If yes, how would it be done? Example:
Input to F5 LTM:
Joh...
Kevin_Stewart
Employee
Aug 14, 2013You can use an encryption mechanism:
And even hashing mechanisms:
sha1 commands (also sha256, 384, and 512)
But then it depends on where you're sending it and who needs to be able to decrypt it (or if it needs to be decrypted at all). If you're just encrypting it to the sender so that you can decrypt it when it's relayed back, the AES:: commands will work best. If you need interoperability with third parties, the CRYPTO:: commands are probably best (new in v11.1). If you don't need to decrypt at all, a hashing algorithm like md5 or sha will work.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects