Function compilerOperationHelperComputeDataSignatureBCH
- compilerOperationHelperComputeDataSignatureBCH<Data, Configuration>(__namedParameters): CompilerOperationError | CompilerOperationSuccess
Parameters
__namedParameters: {
configuration: Configuration;
data: Data;
identifier: string;
operationName: string;
privateKey: Uint8Array;
sha256: {
hash: ((input) => Uint8Array) & ((input) => Uint8Array);
};
sign: ((privateKey, messageHash) => string | 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