Skip to content

Commit 999a407

Browse files
committed
Change package install to "starkbank-ecdsa"
1 parent b3ceb72 commit 999a407

File tree

17 files changed

+19
-19
lines changed

17 files changed

+19
-19
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is a pure JS implementation of the Elliptic Curve Digital Signature Algorit
99
To install StarkBank`s ECDSA for Node JS, run:
1010

1111
```sh
12-
npm install @starkbank/ecdsa
12+
npm install starkbank-ecdsa
1313
```
1414

1515
### Curves
@@ -31,7 +31,7 @@ We ran a test on Node 13.1.0 on a MAC Pro i5 2019. The libraries ran 100 times a
3131
How to sign a json message for [Stark Bank]:
3232

3333
```js
34-
var ellipticcurve = require("@starkbank/ecdsa");
34+
var ellipticcurve = require("starkbank-ecdsa");
3535
var Ecdsa = ellipticcurve.Ecdsa;
3636
var PrivateKey = ellipticcurve.PrivateKey;
3737

@@ -67,7 +67,7 @@ console.log(Ecdsa.verify(message, signature, publicKey));
6767
Simple use:
6868

6969
```js
70-
var ellipticcurve = require("@starkbank/ecdsa");
70+
var ellipticcurve = require("starkbank-ecdsa");
7171
var Ecdsa = ellipticcurve.Ecdsa;
7272
var PrivateKey = ellipticcurve.PrivateKey;
7373

@@ -102,7 +102,7 @@ openssl dgst -sha256 -sign privateKey.pem -out signatureDer.txt message.txt
102102
To verify, do this:
103103

104104
```js
105-
var ellipticcurve = require("@starkbank/ecdsa");
105+
var ellipticcurve = require("starkbank-ecdsa");
106106
var Ecdsa = ellipticcurve.Ecdsa;
107107
var Signature = ellipticcurve.Signature;
108108
var PublicKey = ellipticcurve.PublicKey;
@@ -133,7 +133,7 @@ openssl base64 -in signatureDer.txt -out signatureBase64.txt
133133
You can do the same with this library:
134134

135135
```js
136-
var ellipticcurve = require("@starkbank/ecdsa");
136+
var ellipticcurve = require("starkbank-ecdsa");
137137
var Signature = ellipticcurve.Signature;
138138
var File = ellipticcurve.utils.File;
139139

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)