def calc_hash_str(blk_hdr): return hash9(blk_hdr)
def calc_hdr_hash(blk_hdr): # hash9 returns the hex digest return hash9(blk_hdr)