Skip to content

Commit e25345e

Browse files
authored
Readme updates
1 parent c3cc44d commit e25345e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ use kornrunner\Serializer\HexSignatureSerializer;
1818

1919
$secp256k1 = new Secp256k1();
2020

21-
// return signature contains r and s.
22-
// message and privateKey are hex string
21+
// return signature contains r, s and recovery param (v).
22+
// message and privateKey are hex strings
2323
$signature = $secp256k1->sign($message, $privateKey);
2424

2525
// get r
@@ -50,11 +50,11 @@ use kornrunner\Secp256k1;
5050

5151
$secp256k1 = new Secp256k1();
5252

53-
// signature was created from sign method.
54-
// hash and publicKey are hex string
53+
// signature was created by sign method
54+
// hash and publicKey are hex strings
5555
$isVerified = $secp256k1->verify($hash, $signature, $publicKey);
5656
```
5757

5858
## License
5959

60-
MIT
60+
MIT

0 commit comments

Comments
 (0)