Re: Public key algorithm (SOLVED)
Re: Public key algorithm (SOLVED)
- Subject: Re: Public key algorithm (SOLVED)
- From: Stefan Pantke <email@hidden>
- Date: Tue, 22 Jul 2003 04:35:06 +0200
I figured out how to use DSA from OpenSSL: Generated key-pairs, signed
some message and verified the correctness of the signature against the
original message
by using the sig. Just about 30 lines of code...
Since OpenSSL is part of OS X and the libs are provided by apple,
this might be a solution.
Anyone interested in getting a piece of C code to start cryptography
should send me a message.
Can e.g. be used to check, that a received data packet or some file
has not been changed during transfer (e.g. by email)
Thx to all who helped!
Am Dienstag, 22.07.03 um 03:19 Uhr schrieb Wade Tregaskis:
As far as I could figure out, no support for public-key cryptography
is supplied
by cocoa. Searching Apple's website, only links to javax and openssl
could be found.
But since I'm new to cryptography, openssl is a bit hard at this
moment...
Does someone already implemented a public-key algorithm to be
integrated in
a ObjC/cocoa project? A simplified interface to DH or RSA or
something would
be fine as well.
You could use my Keychain framework, found at
<http://sourceforge.net/projects/keychain>.
Despite the name, it handles all sorts of cryptographic operations via
the CDSA. It's still under heavy construction, but it handles all
generic keypair operations, for all the algorithms provided by Apple
(RSA, DSA, FEE, etc).
I haven't done anything with regards to DH specifically, so you might
not have everything you need for that there (I'm vaguely aware of the
need for some specialist functionality). The framework's under the
BSD license though, so you're welcome to contribute any additions you
like.
I'll be posting an updated version in the next few days, which for
your particular use probably won't change anything, but which you
should probably grab anyway for the patched memory leaks and other
miscellanea. I've also added more documentation here and there.
Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.