Calculate Hash of Secret
#Firmware/v282
hash = key.hash(name, [format])
Calculate the SHA-1 hash of the secret name.
name
See auth.hash for format definitions.