LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   hash bye md5 algorithm (https://www.linuxquestions.org/questions/programming-9/hash-bye-md5-algorithm-416484/)

vishalbutte 02-17-2006 08:38 AM

hash bye md5 algorithm
 
i want to calculate the hash of file by using md5 algorithm in kernel space. hash of the file is based on inode of file and modification time.
so hw too do it??

thanks in advance .........

graemef 02-17-2006 09:43 AM

by first searching with google...

vishalbutte 02-17-2006 11:04 PM

Thanks for the solution..
I have tried it...
but didnt got anything related.
Will i need to write same md5 algorithm with some modification ?
I need to concatenate the modification time of file to its inode number and
pass this string to md5 algorithm to calculate its hash .

Once again thanks.

vishalbutte 02-18-2006 06:02 AM

plzzzzzz.... reply something......

graemef 02-18-2006 12:31 PM

Well a google of md5 gave me, what I would have thought to be, a couple of good hits

MD5 unofficial
MD5 Command Line Utility

primo 02-18-2006 10:54 PM

See:
/usr/src/linux/Documentation/crypto/api-intro.txt
and
/usr/src/linux/crypto/*


All times are GMT -5. The time now is 12:38 AM.