[OTR-dev] A C# lib

Ian Goldberg ian at cypherpunks.ca
Sat Jan 15 17:28:07 EST 2005


On Sat, Jan 15, 2005 at 05:07:07PM -0500, alex323 wrote:
> I see. Let me admonish you that the .NET crypto libs are slightly 
> different than gcrypt. Before I read the protocol, I never knew what an 
> MPI was.

The wire format in the protocol isn't the native one of libgcrypt,
either.  (In fact, the Protocol document was written before coding
started, and I think even before libgcrypt was chosen.)  It's just
an easy-to-generate, easy-to-parse format.

> "4 byte unsigned len, big-endian"
> 
> I am assuming that that is supposed to be 4 bytes that indicate the 
> length of hte public key?

That's right.

   - Ian



More information about the OTR-dev mailing list