Detail: IndexMillisecondGO: Accessor Hashlib

Overview: IndexMillisecondGO: Accessor Hashlib

IndexMillisecondGO.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.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMillisecondGO>
1517-04-01T00:00:00.000
1517-12-31T00:00:00.000
1517-06-30T00:00:00.000
<datetime64[ms]>
>>> ix.via_hashlib(include_name=False).to_bytes()
b'IndexMillisecondGO\x00\xf4}l\x01\xf3\xff\xff\x00l\x8c\xef\x06\xf3\xff\xff\x00L\xfa;\x03\xf3\xff\xff'
IndexMillisecondGO.via_hashlib(include_name, include_class, encoding).md5()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.md5()[source]
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMillisecondGO>
1517-04-01T00:00:00.000
1517-12-31T00:00:00.000
1517-06-30T00:00:00.000
<datetime64[ms]>
>>> ix.via_hashlib(include_name=False).md5().hexdigest()
137656dc790c6e50a26cbd49ab701798
IndexMillisecondGO.via_hashlib(include_name, include_class, encoding).sha256()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha256()[source]
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMillisecondGO>
1517-04-01T00:00:00.000
1517-12-31T00:00:00.000
1517-06-30T00:00:00.000
<datetime64[ms]>
>>> ix.via_hashlib(include_name=False).sha256().hexdigest()
7d7b260fa716baf537d91eb61d39a4ac5de62b835148f1b21720b78741b5a3bd
IndexMillisecondGO.via_hashlib(include_name, include_class, encoding).sha512()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha512()[source]
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMillisecondGO>
1517-04-01T00:00:00.000
1517-12-31T00:00:00.000
1517-06-30T00:00:00.000
<datetime64[ms]>
>>> ix.via_hashlib(include_name=False).sha512().hexdigest()
1cbe6233fcbe5d13298d942bf23e715df5964276de8f59e0b62b4231e0cbed44100115add7cd962395f014d36c35c4827574c6ae58d7825f527ce3e1f74b1422
IndexMillisecondGO.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.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMillisecondGO>
1517-04-01T00:00:00.000
1517-12-31T00:00:00.000
1517-06-30T00:00:00.000
<datetime64[ms]>
>>> ix.via_hashlib(include_name=False).sha3_256().hexdigest()
1c738bff3e65091eb5791dc132d9f5a04d1aa1379f9613966b97a6c005b7cda0
IndexMillisecondGO.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.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMillisecondGO>
1517-04-01T00:00:00.000
1517-12-31T00:00:00.000
1517-06-30T00:00:00.000
<datetime64[ms]>
>>> ix.via_hashlib(include_name=False).sha3_512().hexdigest()
8112d188ad4b4da6428d2ae11d62da412b99e8804daa90e7c4e57a8754f5e110a8a95ddb957ffe98373435b421d3eddc7cfc160c7429b5921349c3024889eb41
IndexMillisecondGO.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.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMillisecondGO>
1517-04-01T00:00:00.000
1517-12-31T00:00:00.000
1517-06-30T00:00:00.000
<datetime64[ms]>
>>> ix.via_hashlib(include_name=False).shake_128().hexdigest(8)
1819c8d9b2964cb9
IndexMillisecondGO.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.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMillisecondGO>
1517-04-01T00:00:00.000
1517-12-31T00:00:00.000
1517-06-30T00:00:00.000
<datetime64[ms]>
>>> ix.via_hashlib(include_name=False).shake_256().hexdigest(8)
adf9394d2888ad60
IndexMillisecondGO.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.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMillisecondGO>
1517-04-01T00:00:00.000
1517-12-31T00:00:00.000
1517-06-30T00:00:00.000
<datetime64[ms]>
>>> ix.via_hashlib(include_name=False).blake2b().hexdigest()
186ae1d4d73a1a005f5a51078ee7067a7cbcacf458a851039a6f9f353aead38019cf023ec9cec0ad3b81ceef1d849d8659d5a085ae5e2a459a6a31e8061f5157
IndexMillisecondGO.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.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMillisecondGO>
1517-04-01T00:00:00.000
1517-12-31T00:00:00.000
1517-06-30T00:00:00.000
<datetime64[ms]>
>>> ix.via_hashlib(include_name=False).blake2s().hexdigest()
f614837ddc3b3497d06273bf094d013588f9f005be39336a850934a70cce776d

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