![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need encrypt form | syamkp | Shell Programming and Scripting | 0 | 03-08-2008 04:51 AM |
| encrypt my sctipt | readycpbala | Shell Programming and Scripting | 4 | 01-24-2008 05:08 PM |
| encrypt file | murad.jaber | SUN Solaris | 1 | 01-08-2008 08:29 AM |
| Decrypt Des file - then encrypt | frustrated1 | SUN Solaris | 0 | 09-07-2006 06:38 PM |
| Tr utility to Encrypt | frankthetank115 | Shell Programming and Scripting | 1 | 11-15-2005 04:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Help with encrypt function
Hi there,
I need to include a simple encryption function in a C program and I came across this function void encrypt(char block[64], int edflag) whic is defined in #include des_crypt.h. According the man "the block argument to encrypt() is a character array of length 64 containing only the characters with numerical value 0 and 1". Any example of how to call this funtion properly? In case I need to encrypt a string how do I create the blocks to be used by encrypt? Thanks, Giggi |
|
||||
|
Consider using something other than DES, this has an example:
http://man.linuxquestions.org/index....ction=0&type=2 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|