Function sbox_byte

  • Takes in a byte represented as a field and returns the substituted output Note that this code will return incorrect values for numbers larger than a byte

    Parameters

    • input: Field

      a byte represented within a field

    Returns Field

    the substituted output