select open change scope Open full search

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

FUNCTIONS / BINARY STRING FUNCTIONS AND OPERATORS

Computes the SHA-384 hash of the binary string.

Signatures & examples

sha384 ( bytea ) → bytea
Computes the SHA-384 hash of the binary string.
sha384('abc'::bytea) → \xcb00753f45a35e8bb5a03d699ac65007​272c32ab0eded1631a8b605a43ff5bed​8086072ba1e7cc2358baeca134c825a7
Version history 2
  1. PG 12 → 13changed
  2. PG 10 → 11added

Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source