cotag / ts-md5

Typescript MD5 implemenation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hashString vs hashAsciiString

sebthom opened this issue · comments

Hi I am trying to use your library but I am unsure which method (hashString or hashAsciiString) to use.

What is the difference between:

Md5.hashString("foobar")
Md5.hashAsciiString("foobar")

and when to use which?

Thanks in advance!

ascii is faster, no other difference

ok, thanks!