using hex(n)[2:] instead of f'{n:02x}‘ … the former can be length 1 for small Z