ph[?][=|hash] ([len])
calculate hash for a block
Usage: pfs.struct_name | pfs format
Tips
-
Use
bf
to set the block size, and thenph [hash_name]
to calculate the hash of that block -
pf
also takes the number of bytes as a size instead of default block size
Hashs available (sorted)
- adler32
- crc15can
- crc16
- crc16citt
- crc16hdlc
- crc16usb
- crc24
- crc32
- crc32c
- crc32ecma267
- crc8smbus
- entropy
- hamdist
- luhn
- md4
- md5
- mod255
- parity
- pcprint
- sha1
- sha256
- sha384
- sha512
- xor
- xorpair
- xxhash