4 ms·
No and no. If a hash function is not an one-way function, it cannot be collision-resistant. And the security in AES assumes that it is an one-way function. Ot
by thiagoharry 5y ago
No and no.
If a hash function is not an one-way function, it cannot be collision-resistant.
And the security in AES assumes that it is an one-way function. Otherwise, anyone could decrypt reversing the function.
- l33t2328 5y agoYou have some slight misunderstanding. AES does not need to be a one way function. It’s trivial to compute the preimage of a ciphertext. Just choose any key and decrypt it.