Encryption howto??

Posted on 2002-03-17
Medium Priority
Last Modified: 2010-04-15
Hi all,

I'm trying to figure out how to handle encryption.  I would like to create some sort of public/private key system - not necessarily as indepth as PGP or anything, but I am working on a small program that operates on the net that I would like to have some encryption done for the data.  Granted, I could use some basic rotating alphabet type algorythm, but I would really like a public / private key system.  Any help would be most appreciated.
Question by:navigator010897
  • 2
  • 2
LVL 22

Expert Comment

ID: 6875878
If this is for MS, have you looked at the CryptAPI?

Author Comment

ID: 6875981
No, I've never heard of CryptAPI - is it an addon product, or something that comes with MSV Studio?

Although I would love to have a way of doing it across platforms (ie: windows client/unix server), i'd be happy to start with just windows compatibility.
LVL 22

Accepted Solution

cookre earned 600 total points
ID: 6876035
If you're using MS DevStudio (VC6), just bring up help/contents/search, enter 'cryptographic functions'
(they all start with 'Crypt' and are in the platform sdk)


Author Comment

ID: 7011967
I can't give an A because it is platform specific to Windows OS, so it would be difficult to write a client for Windows and a server for Linux and get the encryption right since I would only know the Windows high level functions for encrypting / decrypting.

But it does provide a start, and does allow me to at least get encrypted messages from a windows server to a windows client and back.

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question