using os x's built-in blowfish
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.