ed25519
PostgreSQL extension for a modern and secure digital signature algorithm based on performance-optimized elliptic curves
ed25519 · PostgreSQL extension for a modern and secure digital signature algorithm based on performance-optimized elliptic curves
Overview
Usage
Sources:
- Official upstream README
- Official extension control file (ed25519.control)
- Official extension SQL (ed25519–1.0.sql)
ed25519 — PostgreSQL extension for a modern and secure digital signature algorithm based on performance-optimized elliptic curves. Use it when implementing the corresponding security, audit, or access-control workflow. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
ed25519_create_keypair()is an extension function and returnsTABLE.ed25519_sign(message bytea, signing_key bytea)is an extension function and returnsbytea.ed25519_sign(message text, signing_key bytea)is an extension function and returnsbytea.ed25519_verify(message bytea, verification_key bytea, signature bytea)is an extension function and returnsboolean.ed25519_verify(message text, verification_key bytea, signature bytea)is an extension function and returnsboolean.
Requirements and Caveats
- The reviewed control file declares default version
1.0. - The control file marks the extension as relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.