pub fn resource_hash(resource: &str) -> String
Compute the hash for a lock ref name
Returns first 16 chars of SHA256 hex