HashVal¶
-
class HashVal¶
Stores a 128-bit value that represents the hashed contents (typically MD5) of a file or buffer.
Inheritance diagram
digraph inheritanced6c448088e { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "HashVal" [URL="acron.core.HashVal.html#acron.core.HashVal",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "HashVal" [arrowsize=0.75,style=""]; }- HashVal.__eq__()¶
- HashVal.__init__()¶
- HashVal.__lt__()¶
- HashVal.__ne__()¶
- HashVal.assign()¶
- HashVal.compare_to()¶
- HashVal.hash_buffer()¶
Generates the hash value by hashing the indicated data.
- HashVal.hash_bytes()¶
Generates the hash value by hashing the indicated data.
- HashVal.hash_file()¶
Generates the hash value from the indicated file. Returns true on success, false if the file cannot be read.
- HashVal.hash_ramfile()¶
Generates the hash value by hashing the indicated data.
- HashVal.hash_stream()¶
Generates the hash value from the indicated file. Returns true on success, false if the file cannot be read.
- HashVal.hash_string()¶
Generates the hash value by hashing the indicated data.
- HashVal.input_binary()¶
Inputs the
HashValas a binary stream of bytes in order. This is not the same order expected byread_stream().
- HashVal.output()¶
- HashVal.output_binary()¶
Outputs the
HashValas a binary stream of bytes in order. This is not the same order generated bywrite_stream().
- HashVal.read_datagram()¶
- HashVal.read_stream()¶
- HashVal.set_from_bin()¶
Sets the
HashValfrom a 16-byte binary string. Returns true if successful, false otherwise.
- HashVal.set_from_dec()¶
Sets the
HashValfrom a string with four decimal numbers. Returns true if valid, false otherwise.
- HashVal.set_from_hex()¶
Sets the
HashValfrom a 32-byte hexademical string. Returns true if successful, false otherwise.
- HashVal.write_datagram()¶
- HashVal.write_stream()¶