encryption - How to generate unique 56 bit key for a given input string -


this part of homework question (but not actual question),

in question professor asked me generate unique 56 bit key encrypt , decrypted message. both sender , receiver shares pass-phrase (password) only. there no key exchange here.

how unique 56 bit key of pass-phrase??

can use hash? how 56 bit hash value ??

question : (relevant part)
messanger app:
1) alice , bob share same password (or passphrase), must use password set tool correctly encrypt , decrypt messages shared between each other.
2) each message during internet transmission must encrypted using 56-bit key
3) donot directly use password key, have generate same key between alice , bob encrypt messages.
.......
.....

the keyword key derivation functions


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -