필터 지우기
필터 지우기

How does this MD5 algorithm hash strings?

조회 수: 1 (최근 30일)
Fateme Jalali
Fateme Jalali 2016년 7월 12일
댓글: Walter Roberson 2016년 7월 12일
Hello,I have MD5 algorithm to digest strings.I can not analyse how it works.can any one help me to understand how 'CoreHash' works in my mfile? mfile is attached.thanks

답변 (1개)

Walter Roberson
Walter Roberson 2016년 7월 12일
It calls Java to create a message digest engine, and then it runs through the array or data file feeding chunks of the data to the engine, which updates the MD5 as it goes. Eventually it gets to the end and has the Java message digest engine return the hash, which it converts to hex.
  댓글 수: 2
Fateme Jalali
Fateme Jalali 2016년 7월 12일
thank you. what happens in java engine then?
Walter Roberson
Walter Roberson 2016년 7월 12일
https://docs.oracle.com/javase/7/docs/api/java/security/MessageDigest.html
Note the link to the algorithm description that is given there.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by