Module:Hash function/doc explained

This gives access to several hash functions through mw.hash.

Usage

<nowiki>{{</nowiki>#invoke:Hash function|main|algo= |value= <nowiki>}}</nowiki>

Examples

<nowiki>{{</nowiki>#invoke:Hash function|main|algo=adler32|value=Wikipedia<nowiki>}}</nowiki>

gives the follows:

<nowiki>{{</nowiki>#invoke:Hash function|main|sha224|The quick brown fox jumps over the lazy dog<nowiki>}}</nowiki>

gives the follows:

Algorithms

{{#invoke:string|replace|{{#invoke:hash function|list}}|%s+| |plain=no}}