Skip to content

Commit

Permalink
docs: Fixed small typo for usage
Browse files Browse the repository at this point in the history
  • Loading branch information
FajarKim committed Dec 23, 2023
1 parent 82a0867 commit 18f2b57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ Untuk memulai menggunakan Go-crypt, ikuti langkah-langkah ini:
const { encrypt, decrypt } = require("@barudakrosul/gcrypt");
const text = "Secret text message!";
cobst pass = "SecretPasswordKey";
const pass = "SecretPasswordKey";
// Encrypted text
const encrypted = encrypt(text, pass);
console.log(encrypted.toString("utf-8");
console.log(encrypted.toString("utf-8"));
// Decrypted text
const decrypted = decrypt(encrypted, pass);
Expand Down
2 changes: 1 addition & 1 deletion docs/README-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ To start using Go-crypt, follow these steps:
// Encrypted text
const encrypted = encrypt(text, pass);
console.log(encrypted.toString("utf-8");
console.log(encrypted.toString("utf-8"));
// Decrypted text
const decrypted = decrypt(encrypted, pass);
Expand Down

0 comments on commit 18f2b57

Please sign in to comment.