package sm

  1. Overview
  2. No Docs
Pure OCaml Chinese National Cryptographic Algorithm Library (SM2/SM3/SM4/ZUC)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

sm-0.1.0.tbz
sha256=758f6c0f48c599dfff13267ea6f2108f5979f00e8d03ea59e1f6b9f8571ff682
sha512=eefd652f2026f5ee2911c79b3ba933a72ca84d93cb481af63d8242d61bebb190f18686e2add655d96fefc78d2979864f9ca723eafc5fb0a7b08f465713331953

Description

Pure OCaml Chinese National Cryptographic Algorithm Library, supporting SM2 (key derivation, signature generation and verification, encryption and decryption, key exchange, DER/PEM/ASN.1 encoding/decoding), SM3 (digest), SM4 (single-block, CBC, CTR, GCM, streaming context), and ZUC-128 (keystream generation and stream encryption/decryption).

Published: 03 Apr 2026

Dependencies (2)

  1. ocaml >= "4.14.2"
  2. dune >= "3.22"

Dev Dependencies (2)

  1. odoc with-doc
  2. alcotest with-test & < "1.8.0"

Used by

None

Conflicts

None