def pad_blocksize(value, block=64):
    """Pads value to blocksize

    Args:
        value (bytes): Value to pad
        block (int): Block size (Default: 64)
    """
    if len(value) % block != 0:
        value += b"\x00" * (block - (len(value) % block))
    return value