Re: Mac & Windows encryption APIs?
Re: Mac & Windows encryption APIs?
- Subject: Re: Mac & Windows encryption APIs?
- From: Chris Ridd <email@hidden>
- Date: Tue, 25 Nov 2003 16:35:45 +0000
On 25/11/03 2:48 pm, Steve Herman <email@hidden> wrote:
>
I'm working on a Mac client application that needs to encrypt data
>
and place it into a database. There's a corresponding Windows client
>
also being developed by a coworker that needs to do the same. Both
>
clients also need the capability of getting data from the database
>
(which could've been written by either of the two clients) and
>
decrypting it.
>
>
Are there any compatible or standard encryption/decryption APIs
>
present on both Mac OS X _and_ Windows that we could use so that the
>
data can be shared cross-platform in this way? Or any other
>
suggestions?
The same encryption algorithms MUST generate equivalent output on each
machine, so your choices are either:
1) use different APIs on each platform
2) use the same API on each platform
For 1), I believe MS has a CryptoAPI. OS X has 2 - OpenSSL's and a more
complicated one called CDSA.
For 2) since OpenSSL works on Windows as well as OS X, you could simply
write to that.
Cheers,
Chris
_______________________________________________
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.