diff --git a/postgres/salt-and-hash-a-password-with-pgcrypto.md b/postgres/salt-and-hash-a-password-with-pgcrypto.md index c3e6291..0757214 100644 --- a/postgres/salt-and-hash-a-password-with-pgcrypto.md +++ b/postgres/salt-and-hash-a-password-with-pgcrypto.md @@ -9,7 +9,7 @@ user password and later compare it to plain-text passwords for authentication purposes. ```sql -create extensions pgcrypto; +create extension pgcrypto; select crypt('pa$$w0rd', gen_salt('bf')); crypt