Articles about SM2 elliptic curve public-key cryptography, analyzes the SM2 algorithm realization processes and techniques, and The four functions of the SM2 algorithm is implemented in Java language: SM2, SM2, encryption, digital signatures, SM2 signature verification SM2 decryption. Articles Also tested the performance of the algorithm, demonstrate the practicability of this algorithm.