3 ms·
Aes is a one-way function if you consider the key part of the arguments to the function.
by rocqua 5y ago
Aes is a one-way function if you consider the key part of the arguments to the function.
- Aardwolf 5y agoOne 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
- jkhdigital 5y agoDifferent key = different function, so you have not inverted the original function and thus have not found a preimage.
- rocqua 5y agoFair 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.