Do encryption algorithms require an internal hashing algorithm?

Posted by Rudi on Stack Overflow See other posts from Stack Overflow or by Rudi
Published on 2010-05-19T23:51:37Z Indexed on 2010/05/20 0:00 UTC
Read the original article Hit count: 503

Filed under:
|
|
|
|

When I use C# to implement the AES symmetric encryption cipher, I noticed:

PasswordDeriveBytes derivedPassword = new PasswordDeriveBytes(password, saltBytesArray, hashAlgorithmName, numPasswordIterations);

Why do I need to use a hashing algorithm for AES encryption? Aren't they separate? Or is the hashing algorithm only used to create a secure key?

The AES algorithm doesn't use a hashing algorithm internally does it?

© Stack Overflow or respective owner

Related posts about c#

Related posts about aes