Dakshina`s BlogMy views.. |
|
Sunday Dec 10, 2006
Aaj ki seekh: MD5 api
The MD5 algo takes as input a messge of arbitrary length and For more info on MD5 refer to the RFC page http://www.ietf.org/rfc/rfc1321.txt Just a simple program to show usage of MD5 API to calculate a message digest. #include <stdio.h> --Using the md5_calc functions ----
Posted at 04:37PM Dec 10, 2006 by dakshina in Sun | Comments[0]
Tuesday Dec 05, 2006
what i learnt today :encrypt
Today : I came across a utilty ,encrypt for encrypting files. encrypt: usage: encrypt -l | -a <algorithm> [-k <keyfile>] [-i <infile>] These are the algorithms it supports : #encrypt -l Posted at 06:11PM Dec 05, 2006 by dakshina in Sun | Comments[0]
Friday Dec 01, 2006
Getting the output of a shell command from a C program using popen
Sometimes its necessary to access the output of a shell command(more than just the return value) in a C program. One way could be to redirect it to a file and then access it .The other would be by using the popen function. #include<stdio.h> main(){ Posted at 10:52AM Dec 01, 2006 by dakshina in Sun | Comments[0] |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||