No BSD License  

Highlights from
Implementation of Improved Hash Algorithms.

1.0

1.0 | 1 rating Rate this file 19 Downloads (last 30 days) File Size: 5.55 KB File ID: #10430

Implementation of Improved Hash Algorithms.

by sri devi

 

20 Mar 2006 (Updated 20 Mar 2006)

Matlab implementation of MD5,SHA ,RIPEMD

| Watch this File

File Information
Description

First create a file with the data to be secured.
Run the program named mainpro.m

Give the filenames as input to take the data and to store the digest.

MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
28 Mar 2007 kieu phuong

I want creat data file.txt in order to input data. Comment i can do it?

09 Jun 2007 peymon p

For a text file with content '1111111111'
the real md5 is
E11170B8 CBD2D741 02651CB9 67FA28E5
but mainpro output is
9CAA0528 2C75FF82 2F897B51 FDA3C4C5
SHA is wrong too

12 Jun 2010 fiza khalid

plz tell me it is computing only one hash that is SHA-1 how can i get md5.do reply me.anyone plz tell me.....i need it.

26 Jun 2010 fiza khalid

Md5 and sha-1 are working properly but RIpemd is giving an >>error as
>>Error using ==> bin2dec at 54
>>Binary string may consist only of characters 0 and 1

>>Error in ==> bin2dec2 at 6
>>output = bin2dec(num2str(input')');
>>Error in ==> ripemd3 at 116
                  >>a=dec2hex(mod(bin2dec2(b)+bin2dec2(c1)+bin2dec2(d2),2^32),8);
plz help me if anyone know about this problem........
thnx in advance

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
structures sri devi 22 Oct 2008 08:19:05
cell arrays sri devi 22 Oct 2008 08:19:05
hash algorithm sri devi 22 Oct 2008 08:19:05
utilities sri devi 22 Oct 2008 08:19:05

Contact us at files@mathworks.com