Method __builtin.Nettle.Hash()->hash()
- Method hash
 string(8bit)hash(string(8bit)data)
string(8bit)hash(Stdio.Filefile,void|intbytes)- Description
 Shortcut for hashing some data.
- Parameter 
data String to hash.
- Parameter 
file Stdio.File object to read some data to hash from.
- Parameter 
bytes The number of bytes of the file object
filethat should be hashed. Negative numbers are ignored and the whole file is hashed.Works as a (possibly faster) shortcut for
State(data)->digest(), where State is the hash state class corresponding to this Hash.- See also