pgsmcrypto
PostgreSQL SM Algorithm Extension
Repository
zhuobie/pgsmcrypto
https://github.com/zhuobie/pgsmcrypto
Source
pgsmcrypto-0.1.1.tar.gz
pgsmcrypto-0.1.1.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pgsmcrypto | 0.1.1 | SEC | MIT | Rust |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 7080 | pgsmcrypto | No | Yes | No | Yes | No | No | - |
| Related | pgsodium pgcrypto shacrypt cryptint pguecc pgcryptokey pg_tde column_encrypt supabase_vault pg_enigma |
|---|
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.1.1 | 1817161514 | pgsmcrypto | - |
| RPM | PIGSTY | 0.1.1 | 1817161514 | pgsmcrypto_$v | - |
| DEB | PIGSTY | 0.1.1 | 1817161514 | postgresql-$v-pgsmcrypto | - |
Build
You can build the RPM / DEB packages for pgsmcrypto using pig build:
Install
You can install pgsmcrypto directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
pgsmcrypto: SM national cryptographic algorithm extension for PostgreSQL
pgsmcrypto provides Chinese national cryptographic (SM series) algorithms for PostgreSQL, including SM3 hashing, SM2 asymmetric encryption/signing, and SM4 symmetric encryption.
SM3 Message Digest
SM2 Asymmetric Encryption
Key Generation
Key Export/Import (PEM)
Sign and Verify
Encrypt and Decrypt
SM4 Symmetric Encryption
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)