SHA-3 HASH

Version 1.1.0 (5,24 KB) von David Hill
SHA-3 Hash implemented from standard
429 Downloads
Aktualisiert 25 Dez 2019

Lizenz anzeigen

SHA-3 Hash implemented from standard (SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions, FIPS PUB 202, dated August 2015). Execute SHA3_GUI.m. Enter your message you desire to hash into the message box. Select which SHA-3 output length you desire from the popup menu (224, 256, 384, or 512). Hit the hash button to display the hash digest in the digest box. I have tested the hash functions on numerous inputs and the functions have determined the proper hash outputs.

Zitieren als

David Hill (2024). SHA-3 HASH (https://www.mathworks.com/matlabcentral/fileexchange/71760-sha-3-hash), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2019a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu MATLAB Report Generator finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0

Simplified code for message conversion to binary and digest conversion to hex

1.0.9

Input message and output digest were not converting correctly in accordance to the standard. This update corrects the mistakes. The hash has now been tested and works properly for any size message input and output length. Added a GUI.

1.0.8

Changed to convert using UTF-8 instead of Unicode. Simplified code in several areas.

1.0.7

Simplified the code and added many additional comments.

1.0.6

Changed image

1.0.5

Changed input to SHA3 to be char array of any length. Output is still hex character array. This better matches the normal input stream for hashing. Eliminated use of hex2poly; therefore, no longer require Communications Toolbox.

1.0.4

All functions should be included now.

1.0.3

Included all functions

1.0.2

Did not include all functions previously

1.0.1

Updated some functions based on comments. Included two functions that I forgot to include previously that are essential for the execution.

1.0.0