• 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
using os x's built-in blowfish
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using os x's built-in blowfish


  • Subject: using os x's built-in blowfish
  • From: Benjámin Salánki <email@hidden>
  • Date: Sat, 9 Aug 2003 12:02:28 +0200

hi,

i came across os x's built-in blowfish headers and thought i'd give
them a try. I managed to create a key, and then successfully run

void BF_encrypt(BF_LONG *data,const BF_KEY *key);
void BF_decrypt(BF_LONG *data,const BF_KEY *key);

and it worked like a charm. But my problem is that if i have an NSData,
i pass [NSData length] as the *data parameter to both encrypt and
decrypt, but how do i save the result? And what do I do with the bytes
from the original NSData? this might sound a bit confusing, but i am
new to the concept of encryption/decryption and am just experimenting.
please tell me if i'm totally off here. any links to some explanatory
sites are appreciated as well.

thx

ben

stupidFish23
http://www.stupidfish23.com
_______________________________________________
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.

  • Follow-Ups:
    • [OT] Re: using os x's built-in blowfish
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re: simple Python shell
  • Next by Date: Re: scaleUnitSquareToSize
  • Previous by thread: Hack for changing NSOutlineViews disclosure triangle?
  • Next by thread: [OT] Re: using os x's built-in blowfish
  • Index(es):
    • Date
    • Thread