• 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
Cross platform encryption/decryption
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross platform encryption/decryption


  • Subject: Cross platform encryption/decryption
  • From: Ian was here <email@hidden>
  • Date: Tue, 27 Feb 2007 15:59:56 -0800 (PST)

I am trying to use LibCdsaCrypt as a cross platform
solution. I can encrypt a plain text file on Mac OS X
and decrypt that same file just fine. If I encrypt a
file and send it to Windows XP. The .NET application
can't decrypt it (and vice versa). I am using DES with
a 64-bit key. I have verified the padding, password,
and IV on both platforms.

I modified the genCryptHandle() function slightly so
that if CSSM_ALGID_DES, then encrPad =
CSSM_PADDING_PKCS7; rather than CSSM_PADDING_PKCS5.
This is because .NET does not support PKCS5.

Has anyone had any issues with this before? Thanks.



____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Clicking a NSTableView column without changing selection
  • Next by Date: Re: API to convert string to number?
  • Previous by thread: Clicking a NSTableView column without changing selection
  • Next by thread: An idea about desktop amusing
  • Index(es):
    • Date
    • Thread