Waiting for PostgreSQL 18 – Add modern SHA-2 based password hashes to pgcrypto.
Read OriginalThe article details a new patch for PostgreSQL 18 that introduces SHA-256 and SHA-512 based password hashing (sha256crypt and sha512crypt) to the pgcrypto extension. It explains how the `crypt()` and `gen_salt()` functions work, shows examples of the new hash formats, and discusses the configurable iteration counts for these adaptive hashing algorithms.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser