native

hash_string

Syntax

native hash_string(const string[], const HashType:type, output[], const outputSize);

Description

Generate a hash value (message digest)

Parameters

string String to be hashed.
type Type of selected hashing algorithm. See Hash_* constants in amxconst.inc file.
output Output string to store hash in.
outputSize The maximum size of the output string to store hash in.

Return

Number of written bytes.