SHA Algorithms 160,224,256,384.512

Implements all of SHA ALgorithms, SHA160,SHA224,SHA256,SHA384,SHA512

You are now following this Submission

Generates Message Digest using algorithms : SHA160, SHA-224, SHA256,SHA384,SHA512
Support for Bit Oriented Message
-- Enter Message Length in Bits
-- Either enter Message (HEX) or
-- generate a random message of length LEN in Bits
-- Select the Algorithm to generate MESG DIGEST

LEN :: Enter Bit Oriented Message Length
should be GT 0

METH :: SHA1, SHA224,SHA256,SHA384,SHA512

GEN :: 0 --> enter the MESG (in HEX) or

Limitation :: Matlab cannot read characters if MSG_LEN > 2^12
----- directly assign MSG to msg_str if MESG_LENGTH > 2^12

1 --> this HASH function generates a psuodorandom
mesg. of length LEN bits
<> No. of Bits in MESG should be GT LEN
<> AT the CMD prompt dont give any spaces
<> while entering HEX MESG

-- < Remember KEY to SECURITY Algorithms are modular Arithmetic >


-- Kshitish


end

Cite As

khitish (2026). SHA Algorithms 160,224,256,384.512 (https://www.mathworks.com/matlabcentral/fileexchange/31795-sha-algorithms-160-224-256-384-512), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0