Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Right way of using setkey(3) and encrypt(3)
From: cnystrom@gmail.com (cnystrom@gmail.com)
Subject: Re: Right way of using setkey(3) and encrypt(3)

View this article only
Newsgroups: comp.unix.programmer, comp.lang.c
Date: 2004-12-16 04:48:21 PST

YBH123 wrote:
> I need a dual-way encrypt function ( encrypt and decrypt). The unix
> function setkey(3) and encrypt(3) seems the right function to use, but the
> man page of these two functions are really obscure about the parameter
> passing. Could some one tell me the right way of using these two function 
to
> encrypt and decrypt a character string?

>I do not know.

>The encrypt(3) man page gives this example:

--

Look up the src code for enigma -if you can't do with a commandline interfac
e.

#cat plain.txt | enigma -s "<my passwd>" > secret.txt
#cat secret.txt | enigma -s "<my passwd>" > newfile
#diff newfile and plain.txt

should show that the file is identical.

regards
-kamal

Report this thread to moderator Post Follow-up to this message
Old Post
Kamal R. Prasad
12-19-04 08:57 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Unix Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 08:13 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.