encrypt a message
From: rockwell (rockwell_001_at_yahoo.com)
Date: 07/22/04
- Previous message: Todd Knarr: "Re: Concern for storage of payment gateway key"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 22 Jul 2004 09:45:12 -0700
HI groups i am trying to encrypt a message or rather a password and
then check if it is properly decrypted or not,my program looks like
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include "/usr/include/crypt.h"
int main(void)
{
char key[64]="10111010";
char txt[64]="mytextstring";
setkey(key);
encrypt(txt, 0);
encrypt(txt, 1);
return 0;
}
i want to test whether my txt string is properly encrypted ot not.Can
i append the encrypted string into a file and then decrypt it back
into a file and check if it is the same.If so how may i know it.Can u
please tell me about this.if this is not the proper group can u
suggest me the proper group.
Thanks in advance and bye.
- Previous message: Todd Knarr: "Re: Concern for storage of payment gateway key"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|