[OTR-dev] A C# lib

Ian Goldberg ian at cypherpunks.ca
Sat Jan 15 16:44:23 EST 2005

On Sat, Jan 15, 2005 at 03:52:55PM -0500, alex323 wrote:
> I have another question as well: There is another parameter I can 
> choose: "The length, in bits, of the private value. If 0 is specified, 
> the default value will be used."
> The default value is 160. Is that what I need? It's used here:
> dhm = new DiffieHellmanManaged(1536, /* What goes here? */ 
> ,DHKeyGeneration.Static);

libotr uses 320; see otrl_dh_gen_keypair in dh.c.

   - Ian

More information about the OTR-dev mailing list