3 ms·
> should developers just blast the key-bits into base64 and ship that? I would argue given the key lengths of ed25519, not even to do base64, but just do hex e
by RcouF1uZ4gsC 6y ago
> should developers just blast the key-bits into base64 and ship that?
I would argue given the key lengths of ed25519, not even to do base64, but just do hex encoding.
Sure it is a little longer, but in return you get much simpler encoding and decoding, no worries about flavors of base64 or padding.
In addition, hex encoding is much easier to verbally communicate to someone versus base64.
In a security context, I think making things as simple as possible has big benefits.
- upofadown 6y agoSplit the difference with base 32? More efficient than hex, you can leave out the 4 easiest letters to confuse with digits and no upper/lower case problem. Verbal communication is a problem with any system that uses letters. In hex for example; 3, B, C, D and E all sound very much the same.
- RcouF1uZ4gsC 6y ago> In hex for example; 3, B, C, D and E all sound very much the same. We have a standard way of dealing with that in the form the NATO phonetic alphabet. So 3BCDE would be “Tree Bravo Charlie Delta Echo”