You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
# ecutils
1
+
# js-ecutils
2
2
3
3
**JavaScript Library for Elliptic Curve Cryptography**
4
4
5
-
`ecutils` is a JavaScript library designed for implementing Elliptic Curve Cryptography (ECC) algorithms, including key exchanges (Diffie-Hellman, Massey-Omura), ECDSA signatures, and Koblitz encoding. This library is suitable for educational purposes in cryptography and for use in secure systems.
5
+
`js-ecutils` is a JavaScript library designed for implementing Elliptic Curve Cryptography (ECC) algorithms, including key exchanges (Diffie-Hellman, Massey-Omura), ECDSA signatures, and Koblitz encoding. This library is suitable for educational purposes in cryptography and for use in secure systems.
6
6
7
7
## Features
8
8
@@ -22,18 +22,18 @@
22
22
23
23
## Installation
24
24
25
-
To install `ecutils`, you can use npm:
25
+
To install `js-ecutils`, you can use npm:
26
26
27
27
```bash
28
-
npm install ecutils
28
+
npm install js-ecutils
29
29
```
30
30
31
31
## Usage
32
32
33
33
After installing, you can import the library into your JavaScript project:
34
34
35
35
```javascript
36
-
const { core: { Point, EllipticCurve } } =require('ecutils');
36
+
const { core: { Point, EllipticCurve } } =require('js-ecutils');
37
37
38
38
// Example parameters
39
39
let p =23n; // The prime number defining the finite field's order
@@ -247,7 +247,7 @@ Here are some examples of using the key exchange protocols and other features of
0 commit comments