diff --git a/README.md b/README.md index e44413d..a6e0deb 100644 --- a/README.md +++ b/README.md @@ -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); diff --git a/docs/README-EN.md b/docs/README-EN.md index e164f35..22e1ad4 100644 --- a/docs/README-EN.md +++ b/docs/README-EN.md @@ -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);