Skip to content

Commit

Permalink
CDM app done
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes67890 committed Dec 8, 2022
1 parent a68392e commit b7187ff
Show file tree
Hide file tree
Showing 11 changed files with 15,497 additions and 34,524 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ interface signature {
* `pointDouble(Point)` - Computes the sum of two points on the elliptic curve.
* `pointMul(k: BN, Point)` - multiplies a `point` by the scalar `k`
### Digital Signatures
* `signMsg(msg, privateKey)` - Returns a `signature` from a message `msg`, with the corresponding `PrivateKey`
* `signMsg(msg, privateKey, k?)` - Returns a `signature` from a message `msg`, with the corresponding `PrivateKey` (Precomputed `k` is optional)
* `verifyMsg(msg, signature, publicKey)` - Returns `True` or `False` if the signature is valied corresponding to the `publicKey` and `msg`
### Key generation
* `generatePrivateKey()` - Generates a `BN` instance of a random 32 byte size private Key.
Expand Down
12 changes: 0 additions & 12 deletions index.html

This file was deleted.

Loading

0 comments on commit b7187ff

Please sign in to comment.