working on encryption, todo: challenge-response