SM2/SM3/SM4 Cryptography Encryption/Decryption
Chinese commercial cryptography standard algorithms, supporting SM2 elliptic curve public key cryptography, SM3 cryptographic hash, and SM4 block cipher encryption/decryption and hash calculation
SM2 Elliptic Curve Public Key Cryptography
Key Generation
Encrypt
Decrypt
SM Cryptography Documentation
SM2 Elliptic Curve Public Key Cryptography
SM2 is an elliptic curve public key cryptography algorithm specified in Chinese National Standard GBT 32918.2, providing secure public key encryption and digital signatures.
Common Applications
Digital certificates for financial institutions, authentication, secure communication
Related Standards
GB/T 32918 Series (SM2 Elliptic Curve Public Key Cryptography)
SM3 Cryptographic Hash Algorithm
SM3 is a cryptographic hash algorithm specified in Chinese National Standard GB/T 32905, outputting 256-bit digests for integrity verification and digital signatures.
Common Applications
Data integrity verification, digital signatures, cryptographic protocols
Related Standards
GB/T 32905 (SM3 Cryptographic Hash Algorithm)
SM4 Block Cipher
SM4 is a block cipher algorithm specified in Chinese National Standard GB/T 32907, using 128-bit blocks and 128-bit keys, supporting ECB, CBC, CTR and other modes.
Common Applications
Data encryption, key exchange, VPN and secure channels
Related Standards
GB/T 32907 (SM4 Block Cipher Algorithm)
Security Notes
- Private keys must be kept secure and not transmitted over insecure networks
- Hash algorithms are one-way and irreversible, used for data integrity verification
- Keys and IVs should be randomly generated and stored securely