Skip to content

Commit

Permalink
Readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvesterdas committed Nov 6, 2021
1 parent 79b0b40 commit 73d0ee8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const decrypted = decrypt(encrypted, 3);
console.log(buffer == decrypted); // true
```

Encrypt and decrypt streams
Encrypt and decrypt streams (Use this in case of input being large data / file)

```js
const { EncryptTransform, DecryptTransform } = require("@gykh/caesar-cipher");
Expand Down Expand Up @@ -86,7 +86,7 @@ Required
Type: `number`<br/>
Required

key should be a number between 1-26
key should be a number between 0-25

### .decryptString(input, key)

Expand All @@ -100,7 +100,7 @@ Required
Type: `number`<br/>
Required

key should be a number between 1-26
key should be a number between 0-25

### .encrypt(input, key)

Expand All @@ -114,7 +114,7 @@ Required
Type: `number`<br/>
Required

key should be a number between 1-26
key should be a number between 0-25

### .decrypt(input, key)

Expand All @@ -128,7 +128,7 @@ Required
Type: `number`<br/>
Required

key should be a number between 1-26
key should be a number between 0-25

### new EncryptTransform(key)

Expand All @@ -137,7 +137,7 @@ key should be a number between 1-26
Type: `number`<br/>
Required

key should be a number between 1-26
key should be a number between 0-25

### new DecryptTransform(key)

Expand All @@ -146,7 +146,7 @@ key should be a number between 1-26
Type: `number`<br/>
Required

key should be a number between 1-26
key should be a number between 0-25

## Understand Caesar Cipher

Expand Down

0 comments on commit 73d0ee8

Please sign in to comment.