Detail: IndexMinute: Accessor Hashlib

Overview: IndexMinute: Accessor Hashlib

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

Interface for deriving cryptographic hashes from this container.

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

Interface for deriving cryptographic hashes from this container.

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

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha512()[source]
>>> ix = sf.IndexMinute(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinute>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).sha512().hexdigest()
989c158d79d2f835cec9f8cce460c62127bec1d212a025a9416c219a1494cb6aaf8ddb5e7f75ea883bfc1ffd502a65912f39fdb18a2660cceac6389c6fda22fe
IndexMinute.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.IndexMinute(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinute>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).sha3_256().hexdigest()
01129e10850cf921f8d28f348cf5d25daa69d400c6be322e1a8ad5fdabeab38b
IndexMinute.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.IndexMinute(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinute>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).sha3_512().hexdigest()
01a90576017b99dbd49beec67fd1de6ae596cc76ca98f9b45ea23f0c72161cecf0882b8793a8b307f005e96b35f4d3c0f276b9003302686066bc3282a8d53f06
IndexMinute.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.IndexMinute(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinute>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).shake_128().hexdigest(8)
0e63b5b38d2d241a
IndexMinute.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.IndexMinute(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinute>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).shake_256().hexdigest(8)
44ad16371a174d4c
IndexMinute.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.IndexMinute(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinute>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).blake2b().hexdigest()
7aad5ae4f19f15dc90d0edfaf90fca47beaa6acede1171beb60106b02694e3175c471817ac71af0b0186484b8b55a1b39ac60d1bd95aa76e8406fca1e46af252
IndexMinute.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.IndexMinute(('1517-04-01', '1517-12', '1517-06-30'))
>>> ix
<IndexMinute>
1517-04-01T00:00
1517-12-01T00:00
1517-06-30T00:00
<datetime64[m]>
>>> ix.via_hashlib(include_name=False).blake2s().hexdigest()
b039c3da39f7ea85bb8040f9faec3731ab2594165977aa3d4274409d3d806fe8

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