Forum Discussion
Deb_Allen_18
Mar 18, 2006Historic F5 Account
output of [string range [AES::key 128] 8 end]?
I see this code (in fact used it several times) for generating a random cookie value:
[string range [AES::key 128] 8 end]
Anybody know why you'd want to whack the first 8 characters of the key value to use it in a cookie?
thanks
/deb
- unRuleY_95363Historic F5 AccountThe first 8 characters are text used to identify the key. It usually looks something like "AES " where is the number of bits in the key (eg: 128 or 192 or 256) and is the hexadecimal digits representing the value of the key. Obviously you might not want to include the "AES 256 " part in the cookie.
- Deb_Allen_18Historic F5 AccountAh, thank you.
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