pyqldb.util.qldb_hash.
QldbHash
(qldb_hash)[source]¶A QLDB hash is either a 256 bit number or a special empty hash.
ValueError – When the hash is None or is not the correct hash size.
dot
(that)[source]¶Sort the current hash value and the hash value provided by that, comparing by their signed byte values in little-endian order.
that (bytes) – The Ion hash of Ion value to compare.
pyqldb.util.qldb_hash.Qldbhash
/object
An QldbHash object that contains the concatenated hash values.
to_qldb_hash
(value)[source]¶The QldbHash of an IonValue is just the IonHash of that value.
value (str/amazon.ion.simple_types.IonSymbol
) – The string or Ion value to be converted to Ion hash.
pyqldb.util.qldb_hash.Qldbhash
/object
An QldbHash object that contains Ion hash.