Function crypto1_bit

Generate keystream for bits

  • Parameters

    • s: Crypto1State

      State

    • input: number

      Input bit

    • isEncrypted: boolean = false

      Is input bit encrypted?

    Returns number