Add low R grinding option
This commit is contained in:
parent
a52ef82e4f
commit
3b402d00c6
3 changed files with 34 additions and 5 deletions
types
2
types/ecpair.d.ts
vendored
2
types/ecpair.d.ts
vendored
|
@ -24,7 +24,7 @@ declare class ECPair implements ECPairInterface {
|
|||
readonly privateKey: Buffer | undefined;
|
||||
readonly publicKey: Buffer | undefined;
|
||||
toWIF(): string;
|
||||
sign(hash: Buffer): Buffer;
|
||||
sign(hash: Buffer, lowR?: boolean): Buffer;
|
||||
verify(hash: Buffer, signature: Buffer): Buffer;
|
||||
}
|
||||
declare function fromPrivateKey(buffer: Buffer, options?: ECPairOptions): ECPair;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue