# GmSSL-Java **Repository Path**: shijieq/GmSSL-Java ## Basic Information - **Project Name**: GmSSL-Java - **Description**: GmSSL-Java - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2023-05-22 - **Last Updated**: 2023-05-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GmSSL-Java A simple GmSSL encapsulation for Java developers. ## 1. Introduction In order to benchmark international cryptographic algorithms, the SM series of algorithms have been developed in China, commonly used including SM1/SM2/SM3/SM4/SM9. - SM1 is a block cipher algorithm. The details of the algorithm are not disclosed at present. It is implemented by qualified manufacturers in hardware - that is, there is no software implementation. It mainly provides services in the form of encryption cards. - SM2 (GB/T 32918-2016) is a public key cryptography algorithm (also known as asymmetric encryption algorithm) that can partially replace RSA. - SM3 (GB/T 32905-2016) is a cryptographic hash algorithm that can replace MD5/SHA1/SHA256. - SM4 (GB/T 32907-2016) is a block cipher algorithm, which can replace AES/DES. - SM9 is an identity based cryptographic algorithm used for SSL VPN, which can establish an identity system similar to PKI/CA. In this project, we mainly used Java language to encapsulate SM2, SM3, and SM4. ## 2. Environment - JDK 1.8