Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
w4ffl35 authored Aug 24, 2022
1 parent 81f13ac commit ac1b9f5
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
An implementation of a basic keyword transposition cipher in Javascript with zero dependencies.

```
$ node
Welcome to Node.js v18.7.0.
Type ".help" for more information.
> const C = require('js-ktc');
> let ktc = new C('secret')
> ktc.encrypt('CRYPTOLOGY')
'JHQSU XFXBQ '
> ktc.decrypt('JHQSU XFXBQ')
'CRYPT OLOGY '
const C = require('js-ktc');
let ktc = new C('secret')
ktc.encrypt('CRYPTOLOGY')
// 'JHQSU XFXBQ '
ktc.decrypt('JHQSU XFXBQ')
// 'CRYPT OLOGY '
```

✅ Easy to use<br />
Expand Down

0 comments on commit ac1b9f5

Please sign in to comment.