receiving key and encrypting messages