↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Functions

sha256

Computes the SHA-256 hash of the binary string.

English manual coverage begins with PostgreSQL 7.1. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

group
binarystring
group label
Binary String Functions And Operators
lang
en
layout
table-new
pages
functions-binarystring.html
prose only
false

Definition PG 18

Computes the SHA-256 hash of the binary string.

Signatures and overloads

sha256 ( bytea ) → bytea → bytea
Computes the SHA-256 hash of the binary string.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:f9905fe41655242d2046961e6226f24762ff4fa1ba0cfe1b4d1d8ae59f258db0

Text language: en · wiki-repair-20261023:f9905fe41655242d2046961e6226f24762ff4fa1ba0cfe1b4d1d8ae59f258db0