C or C++ version,os independent,can be used
under linux and windows.
Thanks for advanced.
Printable View
C or C++ version,os independent,can be used
under linux and windows.
Thanks for advanced.
On Thu, 15 Dec 2005 15:21:37 +0800, say88 wrote:
[color=blue]
> C or C++ version,os independent,can be used
> under linux and windows.
> Thanks for advanced.[/color]
Key exchange should be by floppy, or newer method, hand to to hand, face
to face, person to person. ... should not be by e-mail, etc., which would
defeat the whole security model.
Implementation is very simple: hand to hand in physical media.
Best wishes.
You are the second person who suggests me implementing it by myself.
So,It seem I should implement it.
Thanks for your suggestion.
^_^
"Newsbox" <nospam_for_me_please@thanks.invalid> ????
news:yJ-dnYGRFLtAuzzenZ2dnUVZ_sWdnZ2d@acadia.net...[color=blue]
> On Thu, 15 Dec 2005 15:21:37 +0800, say88 wrote:
>[color=green]
> > C or C++ version,os independent,can be used
> > under linux and windows.
> > Thanks for advanced.[/color]
>
>
> Key exchange should be by floppy, or newer method, hand to to hand, face
> to face, person to person. ... should not be by e-mail, etc., which would
> defeat the whole security model.
>
> Implementation is very simple: hand to hand in physical media.
>
> Best wishes.[/color]
say88 wrote:
[color=blue]
> C or C++ version,os independent,can be used
> under linux and windows.
> Thanks for advanced.[/color]
Consider the libraries OpenSSL, or LibTomCrypt, or Crypto++.
Note that NSA seems partial to elliptic-curve-based
algorithms:
([url]http://www.nsa.gov/ia/industry/crypto_suite_b.cfm?MenuID=10.2.7[/url])
Given a big-integer library, Diffie-Hellman is not hard
to implement, but look at a good reference like Ferguson
and Schneier's "Practical Cryptography" to make sure you've
avoided all the gotchas.
--
Peter Pearson
To get my email address, substitute:
nowhere -> spamcop, invalid -> net
> C or C++ version,os independent,can be used[color=blue]
> under linux and windows.
> Thanks for advanced.[/color]
The math is pretty straightforward for basic DH. Where to find the code...
OpenSSL and PuTTY both come to mind since I know they both do DH key
exchange and have open source code.
--
Jem Berkes
Software design for Windows and Linux/Unix-like systems
[url]http://www.sysdesign.ca/[/url]