Detail: IndexYear: Accessor Hashlib

Overview: IndexYear: Accessor Hashlib

IndexYear.via_hashlib(include_name, include_class, encoding).to_bytes()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.to_bytes()[source]

Return the byte signature for this container, suitable for passing to a cryptographic hash function.

>>> ix = sf.IndexYear(('1517', '1520', '1518'))
>>> ix
<IndexYear>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).to_bytes()
b'IndexYear;\xfe\xff\xff\xff\xff\xff\xff>\xfe\xff\xff\xff\xff\xff\xff<\xfe\xff\xff\xff\xff\xff\xff'
IndexYear.via_hashlib(include_name, include_class, encoding).md5()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.md5()[source]
>>> ix = sf.IndexYear(('1517', '1520', '1518'))
>>> ix
<IndexYear>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).md5().hexdigest()
3a8897ef1c16808931d633e4480b125f
IndexYear.via_hashlib(include_name, include_class, encoding).sha256()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha256()[source]
>>> ix = sf.IndexYear(('1517', '1520', '1518'))
>>> ix
<IndexYear>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).sha256().hexdigest()
4d593d5c6a230582152dc5fe8129959cb3b3e3b5a731e0f9c748a5ee729c07ca
IndexYear.via_hashlib(include_name, include_class, encoding).sha512()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha512()[source]
>>> ix = sf.IndexYear(('1517', '1520', '1518'))
>>> ix
<IndexYear>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).sha512().hexdigest()
f9c11277f71ecf908cd1c619883988f5922413468d21120a456f74d2dfaeffdd308f68e30a7524a8cd95691fdffea88b1059d889a62b2793ad9f3d28c544147a
IndexYear.via_hashlib(include_name, include_class, encoding).sha3_256()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha3_256()[source]
>>> ix = sf.IndexYear(('1517', '1520', '1518'))
>>> ix
<IndexYear>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).sha3_256().hexdigest()
5ceba64aae45d05459c400186a8d3695874926e36096ec1ab60cb0d092034506
IndexYear.via_hashlib(include_name, include_class, encoding).sha3_512()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha3_512()[source]
>>> ix = sf.IndexYear(('1517', '1520', '1518'))
>>> ix
<IndexYear>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).sha3_512().hexdigest()
02a3c1b3bd4affd624e56018e78018e0a46bf7f8dee2b5ee96c608de0e7cee828a9c496eb11f46c3fdc0809146a1c065f0c3c5ac15c07edbcea9887bf12834f7
IndexYear.via_hashlib(include_name, include_class, encoding).shake_128()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.shake_128()[source]
>>> ix = sf.IndexYear(('1517', '1520', '1518'))
>>> ix
<IndexYear>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).shake_128().hexdigest(8)
940f4d75cf379472
IndexYear.via_hashlib(include_name, include_class, encoding).shake_256()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.shake_256()[source]
>>> ix = sf.IndexYear(('1517', '1520', '1518'))
>>> ix
<IndexYear>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).shake_256().hexdigest(8)
b4d68f10e0fcec18
IndexYear.via_hashlib(include_name, include_class, encoding).blake2b(*, digest_size, key, salt, person, fanout, depth, leaf_size, node_offset, node_depth, inner_size, last_node)
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.blake2b(*, digest_size=64, key=b'', salt=b'', person=b'', fanout=1, depth=1, leaf_size=0, node_offset=0, node_depth=0, inner_size=0, last_node=False)[source]
>>> ix = sf.IndexYear(('1517', '1520', '1518'))
>>> ix
<IndexYear>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).blake2b().hexdigest()
33c76bd0222e16ffb8a9a5bdfa0026529f7b57f2cfe5e74e64906f955565a2722bf9ec52f3a649d3ce8b9c72176cfdb89b9e89855f69bda0dace0eb3b72d5f61
IndexYear.via_hashlib(include_name, include_class, encoding).blake2s(*, digest_size, key, salt, person, fanout, depth, leaf_size, node_offset, node_depth, inner_size, last_node)
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.blake2s(*, digest_size=32, key=b'', salt=b'', person=b'', fanout=1, depth=1, leaf_size=0, node_offset=0, node_depth=0, inner_size=0, last_node=False)[source]
>>> ix = sf.IndexYear(('1517', '1520', '1518'))
>>> ix
<IndexYear>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).blake2s().hexdigest()
c8c58b38f2041317271a2765dca2963aade0f9c8c76cbdeca372394b4aa6f745

IndexYear: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Regular Expression | Accessor Hashlib | Accessor Type Clinic