junderw
6 years ago
No known key found for this signature in database
GPG Key ID: B256185D3A971908
2 changed files with
2 additions and
2 deletions
-
ts_src/ecpair.ts
-
types/ecpair.d.ts
|
|
@ -25,7 +25,7 @@ export interface ECPairInterface { |
|
|
|
privateKey?: Buffer; |
|
|
|
publicKey?: Buffer; |
|
|
|
toWIF(): string; |
|
|
|
sign(hash: Buffer): Buffer; |
|
|
|
sign(hash: Buffer, lowR?: boolean): Buffer; |
|
|
|
verify(hash: Buffer, signature: Buffer): Buffer; |
|
|
|
getPublicKey?(): Buffer; |
|
|
|
} |
|
|
|
|
|
@ -11,7 +11,7 @@ export interface ECPairInterface { |
|
|
|
privateKey?: Buffer; |
|
|
|
publicKey?: Buffer; |
|
|
|
toWIF(): string; |
|
|
|
sign(hash: Buffer): Buffer; |
|
|
|
sign(hash: Buffer, lowR?: boolean): Buffer; |
|
|
|
verify(hash: Buffer, signature: Buffer): Buffer; |
|
|
|
getPublicKey?(): Buffer; |
|
|
|
} |
|
|
|