LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can we develop Cryptographic Application for Linux? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-we-develop-cryptographic-application-for-linux-757006/)

jeremy28 09-22-2009 10:15 AM

How can we develop Cryptographic Application for Linux?
 
Hello all.

I don't have any experience in Linux!
But I've implemented a CSP(Cryptographic Service Provider) in Windows which is a software library for implementation of Cryptographic Operations.
So that a high-level API offered by windows called CryptoAPI(or CAPI) uses those implementation in the CSP, so any one who is to implement a Cryptograhic Application for windows, Should use CryptoAPI interface.

Now, I'd like to know if we want to write a Cryptographic Application in Linux, What should we do?
Does Linux offer some APIs for programming under Linux like Windows or not?
If not, what is the alternative Architecture to develop "Linux-based" cryptographic Applications?

Any help will be greatly appreciated!!

Regards.

prushik 09-22-2009 10:43 AM

Quote:

Originally Posted by jeremy28 (Post 3692996)
Hello all.

I don't have any experience in Linux!
But I've implemented a CSP(Cryptographic Service Provider) in Windows which is a software library for implementation of Cryptographic Operations.
So that a high-level API offered by windows called CryptoAPI(or CAPI) uses those implementation in the CSP, so any one who is to implement a Cryptograhic Application for windows, Should use CryptoAPI interface.

'Could' use the CryptoAPI. Many people do not like using someone elses code for things like that. And other people may like or require different algorithms that those found in CryptoAPI. Some may need more speed or more security. I always try to build my applications from the lowest level possible. It takes more work, but produces the highest quality applications and you learn more from the experience.

Quote:

Originally Posted by jeremy28 (Post 3692996)
Now, I'd like to know if we want to write a Cryptographic Application in Linux, What should we do?
Does Linux offer some APIs for programming under Linux like Windows or not?
If not, what is the alternative Architecture to develop "Linux-based" cryptographic Applications?

Any help will be greatly appreciated!!

Regards.

Yes, there are many many many libraries designed specifically for what you want. One is simply called "crypto". I think its a standard part of linux. Check out the man page for it. It does lot of different algorithms.
http://linux.die.net/man/3/crypto

monsm 09-22-2009 10:48 AM

Yes there are lots, if you go to the gentoo portage web page: http://gentoo-portage.com/Search?search=crypto

You see a list of crypto related packages that are included in Gentoo. When you click on each of the links, there is another link to the homepage og the specific package.

Mons


All times are GMT -5. The time now is 05:52 AM.