From 2ebc6bf6f0b1c589a1f39eaa55fa1ba3d33ed463 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 1 Sep 2017 10:33:24 +0100 Subject: [PATCH] correct spelling mistake --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 20a0e20..efd54d4 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ A slightly easier example is: ```ruby require 'securerandom' secret_key = SecureRandom.random_bytes(32) # The length in bytes must be equal to or greater than the algorithm bit length. -iv = SecureRandom.random_bytes(12) # Recomended length for AES-###-GCM algorithm. https://tools.ietf.org/html/rfc5084#section-3.2 +iv = SecureRandom.random_bytes(12) # Recommended length for AES-###-GCM algorithm. https://tools.ietf.org/html/rfc5084#section-3.2 encrypted_value = Encryptor.encrypt(value: 'some string to encrypt', key: secret_key, iv: iv) decrypted_value = Encryptor.decrypt(value: encrypted_value, key: secret_key, iv: iv) ```