Forum Discussion
Kevin_Stewart
Mar 14, 2008Employee
AES functions
Hello Devcentral gurus,
Does anyone know the specifics of the AES functions and how they work. Specifically, look at the following code snippet:
set testkey "test"
set testdata "blah"
log local0. "aes output -> [AES::encrypt $testkey $testdata]"
I've searched and searched through the forum and perhaps I just don't understand it. The above code delivers a different result every time a new browser window is opened. I have to assume that internally AES is pulling some additional information to "seed" the result, but then why the key? I would have thought that since the AES::key function delivers a random key, everything else would be static, and entering a static key would give the same result every time. What am I missing? Say for example I am strongly encrypting something that is being sent to the user in a file-based cookie. When they come back to the site later, I would like to be able to decrypt that data. Again, am I missing something? As it stands, the AES functions don't allow that.
Thank you for your help.
Kevin
- JRahmAdminNo, the iRules implementation supports only CWC at this time.
- habeebaslam_348NimbostratusThank you Citizen_Elah. Do we have an ETA about other methods availability?
- JRahmAdminI'm not sure if that is in the works or not. If it's something you need, you can contact support to open an (or link to existing) RFE.
- IheartF5_45022NacreousHello - did this information ever get published? I want to know the feasibility of exporting the key and decrypting on another device, a value encrypted on the F5,
- laz_53723NimbostratusIt looks like the information was never published.
- aaron_613NimbostratusHi Laz,
- laz_53723NimbostratusI'm working through support in parallel. I was first told that the F5 couldn't encrypt data in a way that anything non-F5 could decrypt it. I pressed for details on why, and am waiting for a response.
- hooleylistCirrostratusI think Support is going to be the best way to handle the request. If they're not able to provide you with the info you're looking for, you could escalate the request through your sales person. Hopefully F5 will be able to provide the functionality you're looking for.
- laz_53723NimbostratusThe variable length encryption thing is fixed by upgrading to v10.2 code (I was testing with v10.1, which is apparently broken).
- JCohenRet. EmployeeI know this is an old thread, but I wanted to answer the question from Scott about the key length above for anyone else landing here.
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