I'm a novice and was unable to understand the correct procedure in regards to how symmetric encryption algorithms (like DES/3DES/AES) generate the encryption key?
For example, DES has key size of 56 bits, AES has 128/192/256 bits,
When the end user need to use the encryption and select a key, the user select a short key (like password or passphrase), the user don't select manually a 128 bit keys, it must be something understandable for humans, especially if there is a need to provide it to the other party (as it is a symmetric encryption), and all the user need to know is the key,
is it correct to say that the encryption algorithm is using a hashing algorithm to convert the password or passphrase the user selected to the encryption key, which will be in the correct size required for the encryption?
If yes, what hash algorithm is used in DES and AES ?
Thanks in advance for your help