The signature hash flag determines what part of the transaction the specific signatures signs. Default and most common is the SIGHASH_ALL flag which signs the full transaction. But a signature can also sign only inputs or only a specific input or output.
Flag | SIGHASH_ALL |
Value | 1 |
Description | Signature applies to all inputs and outputs |