Tagged articles
SM4
12 articles · Page 1 of 1
This article details China's national cryptographic algorithms (SM1, SM2, SM3, SM4), their design principles, operational mechanisms including key exchange and digital signatures, performance comparisons with DES, AES, RSA, and SHA standards, and deployments in AD-WAN and 4G/5G VPDN networks.
Elliptic Curve CryptographyGuomi AlgorithmsIPsec
0 likes · 23 min read

The article analyzes flawed approaches for querying encrypted phone numbers by last four digits — memory decryption, ciphertext fuzzy matching, partial encryption, and mapping tables — and presents a three-field design (full ciphertext, masked display, indexed last-four plaintext) that ensures compliance, security, and millisecond query performance at million-user scale.
AES-256ComplianceDatabase Indexing
0 likes · 6 min read

This article details practical integration of Chinese national cryptographic algorithms SM2, SM3, and SM4 into Spring Boot, covering dependency setup, encryption/decryption, signing/verification, anti-replay protection, JWT implementation, TLS offloading via Nginx, key rotation strategies, and performance optimizations that raised throughput from 300 to 1300 TPS.
Chinese CryptographyKey RotationMLPS Compliance
0 likes · 20 min read

This article details integrating ShardingSphere-Encrypt into Spring Boot for transparent, field-level data masking, covering architecture selection, internal SQL rewrite mechanics, YAML configuration, custom algorithm SPI, common pitfalls like fuzzy queries and sharding interactions, performance benchmarks, caching strategies, and a three-phase historical data migration approach.
AESField-Level EncryptionJDBC proxy
0 likes · 14 min read

This article introduces the fundamentals of encryption, compares symmetric (AES) and asymmetric (SM2) algorithms, clarifies the role of HTTPS as a protocol suite, distinguishes hash functions from encryption, and walks through a national‑standard mutual authentication flow using SM2 and SM4.
HTTPSSM2SM4
0 likes · 9 min read


AntTechDec 6, 2024 · Information Security
Ant Financial's MorseCrypto team secured first place in the 2024 Financial Cipher Cup second‑stage competition by delivering highly optimized SM2, SM3, and SM4 implementations on X86 and ARM platforms that achieve up to 4.3‑times faster verification while meeting strict security and memory constraints.
Performance OptimizationSM2SM3
0 likes · 4 min read

This guide introduces GmSSL, an OpenSSL‑compatible toolbox that implements China’s national cryptographic algorithms, explains its lightweight and cross‑platform features, and provides step‑by‑step instructions for compiling, installing, and using core commands, SM4/SM3/SM2 operations, and certificate authority workflows.
GmSSLOpenSSLSM2
0 likes · 12 min read

This article demonstrates how to secure a Spring Boot 2.7.7 application using JWT, Spring Security, and a custom SM4‑based PasswordEncoder, covering dependency setup, security configuration, custom authentication components, token validation filter, and a login endpoint implementation.
Custom PasswordEncoderJWTSM4
0 likes · 14 min read

The article introduces China’s national cryptographic standards—including SM1, SM2, SM3, SM4, SM7, SM9 and ZUC—explaining their origins, key features, implementation details, comparison with international algorithms, and typical use cases such as AD‑WAN, IPsec, and 4G/5G VPDN networks, highlighting their role in enhancing information security.
BlockchainSM2SM3
0 likes · 16 min read

This guide explains fundamental data encryption concepts, introduces PHP's openssl_encrypt function, compares common encryption modes, shows how to generate keys and initialization vectors, and provides a complete SM4‑CBC implementation with sample code and practical security precautions.
OpenSSLPHPSM4
0 likes · 8 min read

This guide explains how Nacos 2.1.0 introduces built‑in configuration encryption, how to add encryption plugins on the server, and how to mark configuration entries with a special prefix so that they are automatically stored and transmitted as ciphertext.
AESBackendConfiguration Encryption
0 likes · 3 min read

TencentKona 8.0.4 introduces an SM2/SM3/SM4 JCE provider for Chinese national cryptographic algorithms, parallel G1 Full GC, parallel heap inspection, and various performance enhancements, all demonstrated with a micro‑service encryption example and detailed curl commands for practical use.
G1GCJDKParallelGC
0 likes · 9 min read
