Detail: IndexMinuteGO: Accessor Hashlib

Overview: IndexMinuteGO: Accessor Hashlib

IndexMinuteGO.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.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinuteGO>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).to_bytes()
b'IndexMinuteGO\xe0}\xce\xf1\xff\xff\xff\xff`\xda\xd3\xf1\xff\xff\xff\xff x\xd0\xf1\xff\xff\xff\xff'
IndexMinuteGO.via_hashlib(include_name, include_class, encoding).md5()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.md5()[source]
>>> ix = sf.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinuteGO>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).md5().hexdigest()
7841ca4f24de35ff580a52ec5f2ecda1
IndexMinuteGO.via_hashlib(include_name, include_class, encoding).sha256()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha256()[source]
>>> ix = sf.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinuteGO>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).sha256().hexdigest()
c74a67109c668f879f40675fedd16058e376b7276b03cb46ab902b4396cd9dc7
IndexMinuteGO.via_hashlib(include_name, include_class, encoding).sha512()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha512()[source]
>>> ix = sf.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinuteGO>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).sha512().hexdigest()
5036cb780329b05738ce1fafd6cc8c3eb81935799ee67bd011eb1512c010606774ef9e744acbb9ee15103f3e8f297c0b628f64d1992c134648454c9286305227
IndexMinuteGO.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.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinuteGO>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).sha3_256().hexdigest()
5c2975f6eac33fd078f5cd0f85431b48dac13ea51c4e198c241c27d3de9d547a
IndexMinuteGO.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.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinuteGO>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).sha3_512().hexdigest()
6a4ab1ef51d81e3baed12253aaed4d802732c17b1c85cc8566f528f2d58fc243a06773335c8a145ebf05a2e0dac99aef507491670042725d9089b3ff40e28678
IndexMinuteGO.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.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinuteGO>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).shake_128().hexdigest(8)
8ec1759f9043ba31
IndexMinuteGO.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.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinuteGO>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).shake_256().hexdigest(8)
fd634ccacfccac08
IndexMinuteGO.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.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinuteGO>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).blake2b().hexdigest()
f8cc61af00f282ae7a7a029eeb32c8f98eb5a9c0b289abe9c26536186956b0603b3ab854d18f7769e588a24fba9827019c5f7d68fd82078b5226250da7b6715d
IndexMinuteGO.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.IndexMinuteGO(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinuteGO>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).blake2s().hexdigest()
d68617213ffa59c3af597fcbc32fbf82a1ce4511bcb32813ad1f057a8f7524b9

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