Forum Discussion
dubdub
Nimbostratus
Apr 24, 2012Cookie encryption variability
Hi all,
This may be a very stupid question... I am encrypting a cookie with a static name and value, but see in the logs that the encrypted value changes with each session. If I am using the same name, value, and passphrase for the encryption across the board, I would have expected the encrypted result to be the same; does "HTTP::cookie encrypt" include other seed factors into the encryption algorithm?
Thanks,
Jen
3 Replies
- hoolio
Cirrostratus
Hi Jen,
The HTTP::cookie encrypt function does use a salt. So the cipher text should be different for each encryption iteration even with the same plaintext input.
Aaron - dubdub
Nimbostratus
Great, thank you for the information! - Hem_66900
Cirrus
Does any one happen to know what algorithm F5 uses to encrypt cookies.MD5 or SHA
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
