3 ms·
But you can reverse AES! You obviously need the secret key, but it's trivial to reverse the steps of encryption (it's actually a bit tricky to get all the steps
by _fizz_buzz_ 5y ago
But you can reverse AES! You obviously need the secret key, but it's trivial to reverse the steps of encryption (it's actually a bit tricky to get all the steps correctly, but you can easily google how to do it, tons of example impelentations and lecture notes online).
There are a bunch of online tools that demonstrate it such as: https://www.devglan.com/online-tools/aes-encryption-decryption https://www.devglan.com/online-tools/aes-encryption-decrypti...
- rocqua 5y agoAes 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.