-
You are here: JS-methods > Documentation > md5

A JavaScript implementation of the MD5 Message Digest Algorithm.

Extends string prototype with the following method: md5

This extension doesn't depend on any other code or overwrite existing methods.

  • md5() : String
    Returns the md5 hash of the given string.

    Example:

    "JavaScript".md5();

    Result:

    "686155af75a60a0f6e9d80c1f7edd3e9"