• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mac & Windows encryption APIs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Mac & Windows encryption APIs? (From: Steve Herman <email@hidden>)

  • Prev by Date: Cocoa Target Remains NULL
  • Next by Date: Communication between an NSView and AppController;
  • Previous by thread: Mac & Windows encryption APIs?
  • Next by thread: CHUD question
  • Index(es):
    • Date
    • Thread