Compute hash using MD2, MD5, SHA-1, SHA-256, SHA-384, or SHA-512
by Michael Kleder
04 Nov 2005
(Updated 03 May 2006)
No BSD License
Hashes a string (or other MATLAB variable) using a vairiety of hash algorithms
Download Now
|
Watch this File
|
| File Information |
| Description |
Recently, some common hash algorithms have been criticized in cryptological studies. In response, more choices among common hash algorithms need to be available.
This function, called HASH, computes a digest using a hash function chosen from among MD2, MD5, SHA-1, SHA-256, SHA-384, and SHA-512. It can hash strings or variables of several data types. Use "help hash" for more information.
Michael Kleder, Nov 2005 |
| MATLAB release |
MATLAB 7.0.4 (R14SP2)
|
| Other requirements |
This function uses Java. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (19) |
| 26 Feb 2006 |
Tim Dirchley
|
|
|
| 02 May 2006 |
Andrew Medlin
|
|
|
| 04 Jul 2006 |
Sharat Chikkerur
|
|
|
| 09 Nov 2006 |
Stephan Hellerbrand
|
|
|
| 04 Dec 2006 |
M I
|
|
|
| 29 Dec 2006 |
billow he
|
|
|
| 22 Mar 2007 |
JongMin Jeong
|
|
|
| 30 Mar 2007 |
George Varbanov
|
|
|
| 06 Nov 2007 |
P. McNamara
|
|
|
| 04 May 2008 |
Peter Pan
|
|
|
| 13 Aug 2008 |
ahmed abd ellatif
|
|
|
| 28 Oct 2008 |
Chris Rodgers
|
|
|
| 20 Dec 2008 |
mani kandan
|
|
|
| 23 Dec 2008 |
Evaristo Rojas Mayoral
|
|
|
| 12 Feb 2009 |
mani kandan
|
|
|
| 10 Jun 2009 |
Derek Hoyle
|
|
|
| 12 Jun 2009 |
Thomas Deneux
|
|
|
| 20 Oct 2009 |
Jan Simon
|
|
|
| 09 Nov 2009 |
Danila
|
|
|
| Updates |
| 09 Nov 2005 |
title & comment clarifications |
| 03 May 2006 |
Three minor syntax adjustments suggested by MLINT were made. There is no functional impact except a very small improvement in speed. |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com