hash


Description:

public static uint8[]? hash (uint8[] data)

Generates a cryptographic hash of the given data.

This function may be used by clients for any purpose, but is provided primarily for validating cached avatars. This use is highly recommended to avoid unnecessary avatar updates.

This function is a wrapper to internal message-digest functions.

Parameters:

data

Data to be hashed or NULL.

Returns:

hash on success.