Waiting for PostgreSQL 18 – Add modern SHA-2 based password hashes to pgcrypto.

Read Original

The 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.

Waiting for PostgreSQL 18 – Add modern SHA-2 based password hashes to pgcrypto.

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet