Re: Digest for rbnacl@googlegroups.com - 1 update in 1 topic

15 views
Skip to first unread message

Stephen Touset

unread,
Feb 24, 2015, 1:48:17 PM2/24/15
to rbn...@googlegroups.com
On Feb 24, 2015, at 3:01 AM, rbn...@googlegroups.com wrote:

> I've been playing around with RbNaCl and it's really great, but, I was
> wondering about the best way to send the encrypted messages to people? I
> was thinking of using Base64 encoding but I wasn't sure if that would be
> the best route. Any suggestions?

There’s nothing cryptographically important about the answer to this question. Use whatever encoding works best for you given the medium you need to transmit over. Hex is kind of a all-around good default pick, Base64 has the shortest length of common ASCII encodings, Crockford32 is good at avoiding ambiguity caused by typefaces and doesn’t require escaping in URLs, and raw binary is typically best for direct computer-to-computer transmission. They all have their place.

--
Stephen Touset
ste...@touset.org



Reply all
Reply to author
Forward
0 new messages