mcrypt deals with strings full of binary data, so we can’t easily type them or send them to
browsers without modification. In this case, we have chosen to use the PHP base64 functions
to turn them into well-behaved strings.