Function compilerOperationHelperComputeSignatureBCH

  • Parameters

    • __namedParameters: {
          compilationContext: CompilationContextBCH;
          coveredBytecode: Uint8Array;
          identifier: string;
          operationName: string;
          privateKey: Uint8Array;
          sha256: {
              hash: ((input) => Uint8Array) & ((input) => Uint8Array);
          };
          sign: ((privateKey, messageHash) => string | Uint8Array);
      }
      • compilationContext: CompilationContextBCH
      • coveredBytecode: Uint8Array
      • identifier: string
      • operationName: string
      • privateKey: Uint8Array
      • sha256: {
            hash: ((input) => Uint8Array) & ((input) => Uint8Array);
        }
        • hash: ((input) => Uint8Array) & ((input) => Uint8Array)
      • sign: ((privateKey, messageHash) => string | Uint8Array)
          • (privateKey, messageHash): string | Uint8Array
          • Parameters

            • privateKey: Uint8Array
            • messageHash: Uint8Array

            Returns string | Uint8Array

    Returns CompilerOperationError | CompilerOperationSuccess

Generated using TypeDoc