Detail: IndexDateGO: Accessor Hashlib

Overview: IndexDateGO: Accessor Hashlib

IndexDateGO.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.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexDateGO>
1517-04-01
1517-12-01
1517-06-30
<datetime64[D]>
>>> ix.via_hashlib(include_name=False).to_bytes()
b'IndexDateGO\x0bz\xfd\xff\xff\xff\xff\xff\xffz\xfd\xff\xff\xff\xff\xffez\xfd\xff\xff\xff\xff\xff'
IndexDateGO.via_hashlib(include_name, include_class, encoding).md5()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.md5()[source]
>>> ix = sf.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexDateGO>
1517-04-01
1517-12-01
1517-06-30
<datetime64[D]>
>>> ix.via_hashlib(include_name=False).md5().hexdigest()
7fd7c165d987a0fa6aca9b22687150b3
IndexDateGO.via_hashlib(include_name, include_class, encoding).sha256()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha256()[source]
>>> ix = sf.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexDateGO>
1517-04-01
1517-12-01
1517-06-30
<datetime64[D]>
>>> ix.via_hashlib(include_name=False).sha256().hexdigest()
d0b2a43eff9bcea32b07b38d944dcbfb3cdb54290cfb8792b07fec6c29e6f1ad
IndexDateGO.via_hashlib(include_name, include_class, encoding).sha512()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha512()[source]
>>> ix = sf.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexDateGO>
1517-04-01
1517-12-01
1517-06-30
<datetime64[D]>
>>> ix.via_hashlib(include_name=False).sha512().hexdigest()
8d6687a8b8bbf402be815c111c55bf0926cc24477025a9ec3837f0892b72155f7c122640d7d2505c82ddcc219cb2811c240a99bab8cfce13311ac96a191ad88c
IndexDateGO.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.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexDateGO>
1517-04-01
1517-12-01
1517-06-30
<datetime64[D]>
>>> ix.via_hashlib(include_name=False).sha3_256().hexdigest()
346c844cf17c3f3a6371d8a96c2a13672b613f37cfd82ac5ee8c2e6f434fc123
IndexDateGO.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.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexDateGO>
1517-04-01
1517-12-01
1517-06-30
<datetime64[D]>
>>> ix.via_hashlib(include_name=False).sha3_512().hexdigest()
436148f10bdc0f64399b6e44ccf3774b06b25825097ae2b73349ac269e703eacbc29a507cda3da358692e03e9c6c16db87b31ba2ff4d1b9085a134c4f7dabe6f
IndexDateGO.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.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexDateGO>
1517-04-01
1517-12-01
1517-06-30
<datetime64[D]>
>>> ix.via_hashlib(include_name=False).shake_128().hexdigest(8)
471ca799bb9f8ac3
IndexDateGO.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.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexDateGO>
1517-04-01
1517-12-01
1517-06-30
<datetime64[D]>
>>> ix.via_hashlib(include_name=False).shake_256().hexdigest(8)
5e33f5c8f8cedba6
IndexDateGO.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.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexDateGO>
1517-04-01
1517-12-01
1517-06-30
<datetime64[D]>
>>> ix.via_hashlib(include_name=False).blake2b().hexdigest()
140a0243b347be0ff73c83a4d5e7d22e2cf29c7ecc14caf7b19bc63a7577cd27d672d2f285c41a79d5d1f8d701a344639bd72db22b6f4f3df6923a8a0e5d9b05
IndexDateGO.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.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexDateGO>
1517-04-01
1517-12-01
1517-06-30
<datetime64[D]>
>>> ix.via_hashlib(include_name=False).blake2s().hexdigest()
d2b117a9c91636dd7432d4b57a2b2f50ff2aeb344be6bbe154e03b6d3378bac5

IndexDateGO: 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