View Full Version : Equivalents of Dot Net in Cocoa
satyam90
May 20, 2009, 07:02 AM
I am trying to find some cryptographic functions in Cocoa Framework or Security Framework.
Some things like RSACryptoServiceProvider, TripleDESCryptoServiceProvider, PasswordDeriveBytes etc which are available in Dot Net.
What are the equivalents that I have to look in Cocoa/Security framework.
Or am I looking in wrong framework for them.
--Satyam.
lee1210
May 20, 2009, 10:06 AM
http://forums.macrumors.com/showthread.php?t=657012
I believe what you need can be done using libcrypto.
-Lee
gnasher729
May 20, 2009, 10:08 AM
I am trying to find some cryptographic functions in Cocoa Framework or Security Framework.
Some things like RSACryptoServiceProvider, TripleDESCryptoServiceProvider, PasswordDeriveBytes etc which are available in Dot Net.
What are the equivalents that I have to look in Cocoa/Security framework.
Or am I looking in wrong framework for them.
--Satyam.
Trying to find replacements like that is usually the wrong approach. You should start at a higher level: What is it that you actually want to achieve?
satyam90
May 21, 2009, 05:13 AM
Trying to find replacements like that is usually the wrong approach. You should start at a higher level: What is it that you actually want to achieve?
There is a windows application for cryptography written in C#.
I am trying to port it to Mac using Obj C and Cocoa Framework (or some other framework).
C# code has some classes related to cryptography. That's why I am searching for replacement or some way to start cryptography programming on Mac.
lee1210
May 21, 2009, 09:16 AM
I am not familiar with the C# libraries, but, again, libcrypto is probably the best place to start:
http://www.openssl.org/docs/crypto/crypto.html
-Lee
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.