Detail: IndexYearGO: Accessor Hashlib

Overview: IndexYearGO: Accessor Hashlib

IndexYearGO.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.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).to_bytes()
b'IndexYearGO;\xfe\xff\xff\xff\xff\xff\xff>\xfe\xff\xff\xff\xff\xff\xff<\xfe\xff\xff\xff\xff\xff\xff'
IndexYearGO.via_hashlib(include_name, include_class, encoding).md5()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.md5()[source]
>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).md5().hexdigest()
209b3a6244ce83fef4c9540a5be2f56d
IndexYearGO.via_hashlib(include_name, include_class, encoding).sha256()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha256()[source]
>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).sha256().hexdigest()
f47407988d36715292a902e0c4a13af456c6f1c3711ba1a28e59662416d9b564
IndexYearGO.via_hashlib(include_name, include_class, encoding).sha512()
via_hashlib

Interface for deriving cryptographic hashes from this container.

InterfaceHashlib.sha512()[source]
>>> ix = sf.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).sha512().hexdigest()
3bb2720597ec4b14336fc897e6fc298127d04ff76795013548b947aa8e5030a90369d3e7ac4704d381ebae86fed0f193f45f24fbc81561211782298f5a359510
IndexYearGO.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.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).sha3_256().hexdigest()
f1a811b3603e73834cdb69c76ceab20e346e8e08ffe8e65e004af823dfd4520b
IndexYearGO.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.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).sha3_512().hexdigest()
a9928be855522062c4013149192477eb882da82928ab7833e583f9c6a9593e014a6430532950cbd0e50dea5a9139e078bcd9dc954016f9c33af19204fc5987db
IndexYearGO.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.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).shake_128().hexdigest(8)
21d6260b46890069
IndexYearGO.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.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).shake_256().hexdigest(8)
99af2c2211e50205
IndexYearGO.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.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).blake2b().hexdigest()
7f02c1aa11c4020002e0dd395498dc965c08726636d940d9553d50763caa4d0eb150b121ca1fb85870e530e4e2f6c32fded1f87490ce38c20ca39b0953f2bf36
IndexYearGO.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.IndexYearGO(('1517', '1520', '1518'))
>>> ix
<IndexYearGO>
1517
1520
1518
<datetime64[Y]>
>>> ix.via_hashlib(include_name=False).blake2s().hexdigest()
219f1cda6733b1cd9b88d6814894c15239ac2176bfef71012a8873bf0c8c6113

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