Detail: IndexMicrosecondGO: Accessor Hashlib

Overview: IndexMicrosecondGO: Accessor Hashlib

IndexMicrosecondGO.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.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMicrosecondGO>
1517-04-01T00:00:00.000000
1517-12-31T00:00:00.000000
1517-06-30T00:00:00.000000
<datetime64[us]>
>>> ix.via_hashlib(include_name=False).to_bytes()
b'IndexMicrosecondGO\x00 \x01\xcc\x8f=\xcd\xff\x00\xe0\x85\xbc\x17S\xcd\xff\x00\xe0\xb8I\xa2D\xcd\xff'
IndexMicrosecondGO.via_hashlib(include_name, include_class, encoding).md5()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.md5()[source]
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMicrosecondGO>
1517-04-01T00:00:00.000000
1517-12-31T00:00:00.000000
1517-06-30T00:00:00.000000
<datetime64[us]>
>>> ix.via_hashlib(include_name=False).md5().hexdigest()
80cb1062135a7b4a59e40613febfec66
IndexMicrosecondGO.via_hashlib(include_name, include_class, encoding).sha256()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha256()[source]
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMicrosecondGO>
1517-04-01T00:00:00.000000
1517-12-31T00:00:00.000000
1517-06-30T00:00:00.000000
<datetime64[us]>
>>> ix.via_hashlib(include_name=False).sha256().hexdigest()
2d34218b220b62a49bb8675986964134b776d96b4ae260a8642b4bacaa22f6f5
IndexMicrosecondGO.via_hashlib(include_name, include_class, encoding).sha512()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha512()[source]
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMicrosecondGO>
1517-04-01T00:00:00.000000
1517-12-31T00:00:00.000000
1517-06-30T00:00:00.000000
<datetime64[us]>
>>> ix.via_hashlib(include_name=False).sha512().hexdigest()
7f7fedef738f8c89ea322b893ad8fdb4c75a6fd958be9449dce89f8cdc9ab58a0f28309140ddfb6d95c83e18889f016ffb98d4a386c2288760f9def63c8237f3
IndexMicrosecondGO.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.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMicrosecondGO>
1517-04-01T00:00:00.000000
1517-12-31T00:00:00.000000
1517-06-30T00:00:00.000000
<datetime64[us]>
>>> ix.via_hashlib(include_name=False).sha3_256().hexdigest()
520070aeb3d175972eee0925d43db42e125ad215c99fa4a7cfe7bdc75a116a9b
IndexMicrosecondGO.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.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMicrosecondGO>
1517-04-01T00:00:00.000000
1517-12-31T00:00:00.000000
1517-06-30T00:00:00.000000
<datetime64[us]>
>>> ix.via_hashlib(include_name=False).sha3_512().hexdigest()
0dc0447f1ac08a66143ae353946f49e8bc680dcbdf6fb754ce9115b003f76ca4b11ea824138458d7786be9d7130035eefb8c17782533bba09012a0ec7e4fa90c
IndexMicrosecondGO.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.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMicrosecondGO>
1517-04-01T00:00:00.000000
1517-12-31T00:00:00.000000
1517-06-30T00:00:00.000000
<datetime64[us]>
>>> ix.via_hashlib(include_name=False).shake_128().hexdigest(8)
6a0f8c658be41a9d
IndexMicrosecondGO.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.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMicrosecondGO>
1517-04-01T00:00:00.000000
1517-12-31T00:00:00.000000
1517-06-30T00:00:00.000000
<datetime64[us]>
>>> ix.via_hashlib(include_name=False).shake_256().hexdigest(8)
e307203d63d868e0
IndexMicrosecondGO.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.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMicrosecondGO>
1517-04-01T00:00:00.000000
1517-12-31T00:00:00.000000
1517-06-30T00:00:00.000000
<datetime64[us]>
>>> ix.via_hashlib(include_name=False).blake2b().hexdigest()
7b9a5d83fffd740535ef9545019b701411b878ffa143bb34b06645b4288669eab7adbc48f331e7a068eb2d2a1ba645a184cdd53af84ae403eb44e84d59649116
IndexMicrosecondGO.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.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30'))
>>> ix
<IndexMicrosecondGO>
1517-04-01T00:00:00.000000
1517-12-31T00:00:00.000000
1517-06-30T00:00:00.000000
<datetime64[us]>
>>> ix.via_hashlib(include_name=False).blake2s().hexdigest()
372108e0bc86c31d3ce00d6be13ef8d9f7e4447e0b5716a5dbd3f49e1d5dbb42

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