Added ability to receive an encrypted string.
Made setting the pre-shared-key non-optional.