Skip to main content

Module hash

Module hash 

Source

Functions§

full_hash
Compute full SHA-256 hash of data.
get_random_hash
Generate a random truncated hash: truncated_hash(random(16)).
name_hash
Compute name hash from app_name and aspects. = SHA-256(“app_name.aspect1.aspect2”.as_bytes())[:10]
truncated_hash
Compute truncated SHA-256 hash (first 16 bytes).