Detail: IndexYearMonth: Accessor Hashlib

Overview: IndexYearMonth: Accessor Hashlib

IndexYearMonth.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.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ix
<IndexYearMonth>
1517-04
1517-12
1517-06
<datetime64[M]>
>>> ix.via_hashlib(include_name=False).to_bytes()
b'IndexYearMonth\xc7\xea\xff\xff\xff\xff\xff\xff\xcf\xea\xff\xff\xff\xff\xff\xff\xc9\xea\xff\xff\xff\xff\xff\xff'
IndexYearMonth.via_hashlib(include_name, include_class, encoding).md5()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.md5()[source]
>>> ix = sf.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ix
<IndexYearMonth>
1517-04
1517-12
1517-06
<datetime64[M]>
>>> ix.via_hashlib(include_name=False).md5().hexdigest()
144f076132ec51d6a64b99b26434213c
IndexYearMonth.via_hashlib(include_name, include_class, encoding).sha256()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha256()[source]
>>> ix = sf.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ix
<IndexYearMonth>
1517-04
1517-12
1517-06
<datetime64[M]>
>>> ix.via_hashlib(include_name=False).sha256().hexdigest()
c038bd32aff224e9eac81551d72cd1ba7aef62377476955fa8c99a287fcdd2ea
IndexYearMonth.via_hashlib(include_name, include_class, encoding).sha512()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha512()[source]
>>> ix = sf.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ix
<IndexYearMonth>
1517-04
1517-12
1517-06
<datetime64[M]>
>>> ix.via_hashlib(include_name=False).sha512().hexdigest()
b9465ce164f6e8958c53cb1154a5cf18406f63527ea759c8284b6be0d3dd7454c6b79a750d5d4c10dfa9c90c62a020f4c10a35b98cfe0bb4fa4651b43b53253a
IndexYearMonth.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.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ix
<IndexYearMonth>
1517-04
1517-12
1517-06
<datetime64[M]>
>>> ix.via_hashlib(include_name=False).sha3_256().hexdigest()
002aa66886119bff834127a0cc7efc2f7d55b55110c763cf6b8870d24d79d94c
IndexYearMonth.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.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ix
<IndexYearMonth>
1517-04
1517-12
1517-06
<datetime64[M]>
>>> ix.via_hashlib(include_name=False).sha3_512().hexdigest()
a0cc2c5a3d450a4348b288475eec702828a35454de24f376185c39584ef080eb3b8a4d89e67bc5b21431210a541ec25cf19c8fbbb07e09a39c1e41a4debb7a38
IndexYearMonth.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.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ix
<IndexYearMonth>
1517-04
1517-12
1517-06
<datetime64[M]>
>>> ix.via_hashlib(include_name=False).shake_128().hexdigest(8)
141bdf2458b7b4cb
IndexYearMonth.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.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ix
<IndexYearMonth>
1517-04
1517-12
1517-06
<datetime64[M]>
>>> ix.via_hashlib(include_name=False).shake_256().hexdigest(8)
9da1d87292f1edb1
IndexYearMonth.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.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ix
<IndexYearMonth>
1517-04
1517-12
1517-06
<datetime64[M]>
>>> ix.via_hashlib(include_name=False).blake2b().hexdigest()
14ef80e958badc127ecddba0def948def29f3fd27665a959a0af80043d055a07e60391f49652fa846ecacd1f8dd32defba422d46930921a1a9da4cd3c3f1774f
IndexYearMonth.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.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ix
<IndexYearMonth>
1517-04
1517-12
1517-06
<datetime64[M]>
>>> ix.via_hashlib(include_name=False).blake2s().hexdigest()
68b00331b872c3ea67a6d57c6f93f4cf3329320bc3d694d860b40b1b20998415

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