We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc2cf50 commit d731bd6Copy full SHA for d731bd6
docs/en/ciphers/ROT13.md
@@ -3,18 +3,20 @@
3
```ts
4
import { Cipher } from '@irfanshadikrishad/cipher'
5
6
-// Create a Playfair Cipher instance with a keyword
7
-const playfair = new Cipher.ROT13()
+// Create a rot13 cipher instance
+const rot13 = new Cipher.ROT13()
8
9
// Encrypt the text
10
-console.log(playfair.encrypt('Hello World!'))
+console.log(rot13.encrypt('Hello World!'))
11
// Example Output: "Uryyb Jbeyq!"
12
13
// Decrypt the text
14
-console.log(playfair.decrypt('Uryyb Jbeyq!'))
+console.log(rot13.decrypt('Uryyb Jbeyq!'))
15
// Output: "Hello World!"
16
```
17
18
+#### Substitution Swap Table
19
+
20
<table
21
<tr>
22
<td><strong>Input</strong></td>
0 commit comments