Hacker News new | past | comments | ask | show | jobs | submit login

One requirement for one way functions is to not easily find a preimage. With AES output you could decrypt it with a wrong key, get wrong plaintext, but they're still a valid input combination giving this same AES output



Fair point!

I guess it's a one-way function given only the key as input with a fixed ciphertext.

Incidentally if you use AES in a AED mode (like AES gcm) then it would be a one-way function but that is more about the MAC.


Different key = different function, so you have not inverted the original function and thus have not found a preimage.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: