Skip to content

In many cases MD5 hashing does not match in C# and PHP. This script gives back the same result in both PHP and C#.

Notifications You must be signed in to change notification settings

adamdived/RealMD5Hash-for-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

RealMD5Hash-for-Unity

In many cases MD5 hashing of a string value does not match in C# and PHP. For example the string "123" give these different results:

PHP: 202cb962ac59075b964b07152d234b70
C# : 62b92c2059ac5b07964b07152d234b70

This class gives back the same result in both PHP and C#.

Usage

string hash = RealMD5Hash.MD5Php("stringtohash").ToString();
Debug.Log(hash);

About

In many cases MD5 hashing does not match in C# and PHP. This script gives back the same result in both PHP and C#.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages