From 7aeac3fd7845295ad2bc8d7bd14c358beba156f3 Mon Sep 17 00:00:00 2001 From: tanner0101 Date: Mon, 2 Mar 2020 18:17:39 -0500 Subject: [PATCH] fixes --- 4.0/docs/crypto.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/4.0/docs/crypto.md b/4.0/docs/crypto.md index a688af7a..e402e8c4 100644 --- a/4.0/docs/crypto.md +++ b/4.0/docs/crypto.md @@ -27,7 +27,7 @@ CryptoKit includes support for: Bcrypt is a password hashing algorithm that uses a randomized salt to ensure hashing the same password multiple times doesn't result in the same digest. -Vapor's provides a `Bcrypt` type for hashing and comparing passwords. +Vapor provides a `Bcrypt` type for hashing and comparing passwords. ```swift import Vapor @@ -35,7 +35,7 @@ import Vapor let digest = try Bcrypt.hash("test") ``` -Because Bcrypt uses a salt, password hashes cannot be compared directly. Both the plaintext password and the digest to check must be verified together. +Because Bcrypt uses a salt, password hashes cannot be compared directly. Both the plaintext password and the existing digest must be verified together. ```swift import Vapor