Skip to Content
⚠️Active Development Notice: TimeTiles is under active development. Information may be placeholder content or not up-to-date.

web


web / lib/utils/hash

lib/utils/hash

Shared cryptographic hash utilities for PII protection.

Functions

hashEmail()

hashEmail(email): string

Hash an email address (lowercased and trimmed) using SHA-256.

Parameters

email

string

Returns

string


hashIpAddress()

hashIpAddress(ip): string

Hash an IP address using SHA-256.

Parameters

ip

string

Returns

string

Last updated on