Hashing¶
- class dsviper.Hashing¶
Bases:
objectAn interface to abstract a hasher.
Note: Not directly instantiable.
- block_size() int¶
Return the internal block size of the hash algorithm in bytes.
- digest_size() int¶
Return the size of the resulting hash in bytes.
- hexdigest() str¶
Return the digest in hexadecimal.
- name() str¶
Return the name.
- reset() None¶
Reset the hasher.