Function compilerOperationHelperComputeSignatureBCH
- compilerOperationHelperComputeSignatureBCH(__namedParameters): CompilerOperationError | CompilerOperationSuccess
Parameters
__namedParameters: {
compilationContext: CompilationContextBCH;
coveredBytecode: Uint8Array;
identifier: string;
operationName: string;
privateKey: Uint8Array;
sha256: {
hash: ((input) => Uint8Array) & ((input) => Uint8Array);
};
sign: ((privateKey, messageHash) => string | Uint8Array);
}
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