[Botan-devel] Getting the binary form of the key

Jack Lloyd lloyd at randombit.net
Sat Oct 10 14:56:31 EDT 2009

On Sat, Oct 10, 2009 at 02:52:12PM -0400, tiredashell at gmail.com wrote:
> Thanks for taking a look, it's not a big issue so no worries. I actually had
> one more question while we're on the subject, though -- should I worry about
> endianness when sharing a RAW_BER encoded public key over a network, or
> other binary things like signatures and MACs? The clients could potentially
> be different OSes so I'm wondering whether base64 encoding would be
> necessary.

Everything produced by Botan should be of a fixed endianness (if this
is fixed on little endian or fixed on big endian depends on the
specific algorithm in use, but in any case for any specific
algorithm/format/etc the endianess should be the same on any platform
and thus interoperable).

More information about the botan-devel mailing list