Implements Base64 string encryption.