Libsm is an open source pure rust library of China Cryptographic Algorithm Standards

It is completed by a collaborative effort between the Cryptape Technology LLC

Libsm

. . and BEIHANG KNOC LAB. And now this project is maintained by Cryptape Technology LLC.

GM/T Algorithms

Libsm implements the following GM/T cryptographic algorithms:

  • SM2 (GM/T 0003-2012): elliptic curve cryptographic schemes including digital signature scheme, public key encryption, (authenticated) key exchange protocol and one recommended 256-bit prime field curve sm2p256v1.
  • SM3 (GM/T 0004-2012): cryptographic hash function with 256-bit digest length.
  • SM4 (GM/T 0002-2012): block cipher with 128-bit key length and 128-bit block size, also named SMS4.

Documents

  • SM2
  • SM3
  • SM4

License

Libsm is currently under the Apache 2.0 license.

Issues

Collection of the latest Issues

Pencil-Yao

Pencil-Yao

0

对于 decrypt 无法返回错误,导致错误处理使用 panic 的方式,会导致用户错误输入而造成进程 panic 的现象,由于涉及接口次更新为非兼容更新

Versions

Find the latest versions by id

Information - Updated Mar 26, 2022

Stars: 112
Forks: 41
Issues: 3

Repositories & Extras

Orion is a cryptography library written in pure Rust

It aims to provide easy and usable crypto while trying to minimize the use of unsafe code

Orion is a cryptography library written in pure Rust

Rustls is a modern TLS library written in Rust

ring for cryptography and rustls-pemfile crate

Rustls is a modern TLS library written in Rust

Mundane is a Rust cryptography library backed by BoringSSL that is difficult

to misuse, ergonomic, and performant (in that order)

Mundane is a Rust cryptography library backed by BoringSSL that is difficult

SideFuzz: Fuzzing for side-channel vulnerabilities

SideFuzz is an adaptive fuzzer that uses a genetic-algorithm optimizer in combination with t-statistics to find side-channel (timing) vulnerabilities in cryptography compiled to How it...

SideFuzz: Fuzzing for side-channel vulnerabilities

Rustls is a modern TLS library written in Rust

ring for cryptography and rustls-pemfile crate

Rustls is a modern TLS library written in Rust

This repository holds a Rust port of Google's Tink cryptography library

This repository holds a Rust port of Google's RustCrypto crates – this repo focuses on making

This repository holds a Rust port of Google's Tink cryptography library

A cryptography library that is mainly implemented in Rust

I aim to implement bindings to other languages such as C/C++ and Python

A cryptography library that is mainly implemented in Rust

Created for Cryptography Class, Spring 2019

RSA works on both Linux And Windows

Created for Cryptography Class, Spring 2019

Cryptographic Sponges

Fractal: Post-Quantum and Transparent Recursive Proofs from Holography

Cryptographic Sponges

A collection of cryptography functions written in Rust

rustup -- curl --proto '=https' --tlsv1

A collection of cryptography functions written in Rust

RSA-key-encryption

A simple RSA cryptography library

RSA-key-encryption
Facebook Instagram Twitter GitHub Dribbble
Privacy