
Multi-purpose cross-platform hybrid cryptography tool for symmetric and asymmetric encryption, cipher-based message authentication code (CMAC|PMAC|GMAC|VMAC), recursive hash digest, hash-based message authentication code (HMAC), HMAC-based key derivation function (HKDF), password-based key derivation function (PBKDF2|Lyra2|Scrypt), password-hashing scheme (Bcrypt|Argon2|Lyra2|Makwa), shared key agreement (ECDH|VKO|X25519|X448|ML-KEM), digital signature (RSA|ECDSA|EdDSA|GOST|SLH-DSA|ML-DSA), X.509 CSRs, CRLs and Certificates, and TCP instant server with TLS 1.3 and TLCP encryption layers for small or embedded systems.
Fully OpenSSL/LibreSSL/GmSSL/Botan/libsodium/RHash/Mcrypt compliant
Implements
- Africacrypt 2009: Galindo-Garcia Identity-Based Signature (IBS)
- Anubis Involutional SPN 128-bit block cipher (Barreto, ESAT/COSIC)
- Asiacrypt 2001: Short Signatures from the Weil Pairing (BLS)
- Asiacrypt 2005: Barreto Identity-Based Signature (IBS)
- BSI TR-03111 Elliptic Curve Cryptography (ECC) Technical Guideline
- CHASKEY Message Authentication Code (Nicky Mouha, ESAT/COSIC)
- CubeHash and SipHash64/128 (Daniel J. Bernstein & JP Aumasson)
- CRYPTO 1999: IND-CCA2 Fujisaki-Okamoto Transformation (IBE)
- CRYPTO 2001: Boneh-Franklin Identity-Based Encryption (IBE)
- DSTU 7564:2014 A New Standard of Ukraine: The Kupyna Hash Function
- DSTU 7624:2014 A Encryption Standard of Ukraine: Kalyna Block Cipher
- Eurocrypt 1996: Security Proofs for Signature Schemes (EUF-CMA ElGamal)
- Eurocrypt 2004: Boneh-Boyen Identity-Based Encryption (IBE)
- GB/T 32907-2016 - SM4 128-bit Block Cipher
- GB/T 32918.4-2016 SM2 Elliptic Curve Asymmetric Encryption
- GB/T 38636-2020 - Transport Layer Cryptography Protocol (TLCP)
- GM/T 0001-2012 ZUC Zu Chongzhi Stream cipher 128/256-bit key
- GM/T 0002-2012 SM4 Block cipher with 128-bit key
- GM/T 0003-2012 SM2 Public key algorithm 256-bit
- GM/T 0004-2012 SM3 Message digest algorithm 256-bit hash value
- GM/T 0044-2016 SM9 Public key algorithm 256-bit
- GM/T 0086-2020 Specification of key management system based on SM9
- GOST 28147-89 64-bit block cipher (RFC 5830)
- GOST R 34.10-2012 VKO key agreement function (RFC 7836)
- GOST R 34.10-2012 public key signature function (RFC 7091)
- GOST R 34.11-2012 Streebog hash function (RFC 6986)
- GOST R 34.11-94 CryptoPro hash function (RFC 5831)
- GOST R 34.12-2015 128-bit block cipher Kuznechik (RFC 7801)
- GOST R 34.12-2015 64-bit block cipher Magma (RFC 8891)
- GOST R 50.1.114-2016 GOST R 34.10-2012 and GOST R 34.11-2012
- HC-128 Stream Cipher simplified version of HC-256 (Wu, ESAT/COSIC)
- IGE (Infinite Garble Extension) Mode of Operation for Block ciphers
- ISO/IEC 10118-3:2003 RIPEMD128/160/256 and Whirlpool (ESAT/COSIC)
- ISO/IEC 18033-3:2010 HIGHT, SEED, Camellia and MISTY1 Block ciphers
- ISO/IEC 18033-4:2011 SNOW 2.0 and KCipher-2 stream ciphers (RFC 7008)
- ISO/IEC 29192-3:2012 Trivium Stream cipher with 80-bit key
- ISO/IEC 18033-5:2015 IBE - Identity-based Encryption Mechanisms
- ISO/IEC 18033-5:2015/Amd.1:2021(E) SM9 Mechanism
- ISO/IEC 14888-3:2018 EC-SDSA Schnorr-based Signature Scheme
- ISO/IEC 29192-2:2019 PRESENT, CLEFIA and LEA block ciphers
- ISO/IEC 15946-5:2022 Barreto-Naehrig and Barreto-Lynn-Scott Curves
- ITI DOC-ICP-01.01 Curve E-521 Brazilian Digital Signature Standard
- KS X 1213-1 ARIA 128-bit block cipher with 128/192/256-bit keys
- KS X 3246 LEA - Lightweight Encryption Algorithm (TTAK.KO-12.0223)
- KS X 3262 LSH - A New Fast Secure Hash Function Family (in Korean)
- LNCS 1838 - A One Round Protocol for Tripartite Diffie-Hellman
- NIST SP800-186 X25519 Diffie-Hellman (OpenSSL compliant)
- NIST SP800-38D GCM AEAD mode for 128-bit block ciphers (RFC 5288)
- NIST SP800-232 Ascon-Based Lightweight Cryptography Standard
- PiLBA 2008: The Curupira-2 Block Cipher for Constrained Platforms
- PKC 2003: Cha-Cheon Identity-Based Signature (IBS)
- RFC 1423: Privacy Enhancement for Internet Electronic Mail
- RFC 2104: HMAC - Keyed-Hashing for Message Authentication
- RFC 2144: CAST-128 64-bit Block cipher with 128-bit key
- RFC 2612: The CAST-256 Encryption Algorithm
- RFC 3610: Counter with CBC-MAC Mode of Operation (CCM Mode)
- RFC 4009: The SEED Encryption Algorithm (KISA)
- RFC 4253: Serpent 128-bit Block cipher with 128/192/256-bit keys
- RFC 4493: Cipher-based Message Authentication Code (CMAC)
- RFC 4503: Rabbit Stream Cipher Algorithm with 128-bit key
- RFC 4543: Galois Message Authentication Code (GMAC)
- RFC 4764: EAX Authenticated-Encryption Mode of Operation
- RFC 4648: Base16, Base32, and Base64 Data Encodings
- RFC 5246: Transport Layer Security (TLS) Protocol Version 1.2
- RFC 5280: Internet X.509 PKI Certificate Revocation List (CRL)
- RFC 5297: Synthetic Initialization Vector (SIV Mode)
- RFC 5639: Elliptic Curve Cryptography (ECC) Brainpool Standard Curves
- RFC 5869: HMAC-based Key Derivation Function (HKDF)
- RFC 6114: The 128-Bit Blockcipher CLEFIA (Sony)
- RFC 7008: KCipher-2 Encryption Algorithm (KDDI R&D Laboratories)
- RFC 7253: OCB3 Offset Codebook Authenticated-Encryption Algorithm
- RFC 7292: PKCS #12 Personal Information Exchange Syntax v1.1
- RFC 7539: ChaCha20-Poly1305 AEAD Stream cipher
- RFC 7693: The BLAKE2 Cryptographic Hash and MAC (JP Aumasson)
- RFC 7748: Curve25519 and Curve448: Elliptic Curves for Security
- RFC 7914: The Scrypt Password-Based Key Derivation Function
- RFC 8032: Ed25519 Signature a.k.a. EdDSA (Daniel J. Bernstein)
- RFC 8446: Transport Layer Security (TLS) Protocol Version 1.3
- RFC 8554: Post-Quantum Leighton-Micali Hash-Based Signatures
- RFC 9058: MGM AEAD mode for 64 and 128 bit ciphers (E. Griboedova)
- RFC 9367: GOST Cipher Suites for Transport Layer Security (TLS 1.3)
- SAC 2002: Hess Efficient Identity Based Signature (IBS)
- SBRC 2007: Curupira1 96-bit block cipher with 96/144/192-bit keys
- STB 34.101.31-2011 Belarusian standard (Bel-T) block cipher
- STB 34.101.45-2013 Belarusian BignV1 public key algorithhm
- STB 34.101.77-2020 Belarusian standard BASH hash function
- TTAS.KO-12.0004/R1 128-bit Block Cipher SEED (ISO/IEC 18033-3:2010)
- TTAS.KO-12.0040/R1 64-bit Block Cipher HIGHT (ISO/IEC 18033-3:2010)
- TTAS.KO-12.0011/R2 HAS-160 Korean-standardized hash algorithm
- TTAK.KO-12.0015/R3 EC-KCDSA Korean Digital Signature Algorithm
- TTAK.KO-12.0223 LEA 128-bit block cipher (ISO/IEC 29192-2:2019)
- TTAK.KO-12.0276 LSH Message digest algorithm (KS X 3262)
- US FIPS 197 Advanced Encryption Standard (AES)
- US FIPS 180-2 Secure Hash Standard (SHS) SHA1 and SHA2 Algorithms
- US FIPS 202 SHA-3 Permutation-Based Hash (instance of the Keccak)
- US FIPS 203 Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM)
- US FIPS 204 Module-Lattice-Based Digital Signature Standard (ML-DSA)
- US FIPS 205 Stateless Hash-Based Digital Signature Standard (SLH-DSA)
National Cryptographic Standards
🇨🇳 SM2, SM3, SM4, SM9, ZUC — Chinese national cryptographic standards
Defined by the State Cryptography Administration (SCA) and standardized under GB/T and GM/T series. Widely used in Chinese government, banking, and telecom infrastructure.
🇷🇺 GOST R 34.10, Kuznechik, Streebog — Russian Federation cryptographic standards
Approved by FSTEC and Federal Security Service (FSB), standardized under GOST R series. Used across official and military systems in Russia.
🇺🇦 Kalyna, Kupyna — Ukrainian national cryptographic standards
Standardized as DSTU 7624:2014 (Kalyna block cipher) and DSTU 7564:2014 (Kupyna hash function) by the Ukrainian State Service for Special Communications and Information Protection.
🇰🇷 ARIA, SEED, LEA, LSH, KCDSA — Korean national cryptographic algorithms
Developed under TTAS.KO and KS X standards. Used in public sector systems and Korean financial institutions. Published by KISA and TTA.
🇧🇾 BignV1, Bel-T, BASH — Belarusian cryptographic standards
Standardized by the STB 34.101 series. Designed for public key encryption (BignV1), block cipher encryption (Bel-T), and hashing (BASH), primarily for use within Belarusian national security frameworks.
🇫🇷 ANSSI FRP256v1 — French national elliptic curve for digital signatures
Developed by the ANSSI (Agence nationale de la sécurité des systèmes d’information). Used for secure digital signature implementations within French governmental and critical infrastructure systems.
🇯🇵 KCipher-2, Camellia — Japanese national cryptographic algorithms
KCipher-2 is a lightweight stream cipher standardized under ISO/IEC 18033-4:2011.
Camellia is a block cipher developed by Mitsubishi and NTT, internationally adopted and widely used in Japan for various secure communications.
🇧🇷 ITI DOC-ICP-01.01 — Brazilian Cryptographic Standards for Public-Key Algorithms
Brazil’s national public key cryptographic standards are defined in the DOC-ICP-01.01, issued by the Instituto Nacional de Tecnologia da Informação (ITI) under the ICP-Brasil framework. This standard mandates the use of internationally recognized and security-reviewed asymmetric algorithms, including:
- RSA (minimum key size of 2048 bits for end-entities and 4096 bits for CAs),
- Elliptic Curve Cryptography (ECC) using brainpool curves (e.g., brainpoolP256r1, brainpoolP512r1),
- EdDSA over Ed25519 (Curve25519), Ed448-Goldilocks (Curve448), and Ed521 (Curve E-521), defined as a high-security elliptic curve consistent with 256-bit security strength, considered for future-safe digital signatures mechanism.
- ECDH / ECDHE for key agreement protocols, including X25519 and X448 variants.
These algorithms are officially approved through the Instrução Normativa ITI nº 22, de 23 de março de 2022, which consolidates and updates the cryptographic requirements under Brazilian law, ensuring strong digital security for certificates and signatures in national electronic documents and transactions.
Source:
ICP-Brasil – DOC-ICP-01.01, v5.0 (2022)
Instrução Normativa ITI nº 22/2022 – Instituto Nacional de Tecnologia da Informação
🇸🇦 SNOW 2.0, Sosemanuk — Saudi Arabian national stream cipher standards
Defined by the National Cybersecurity Authority (NCA) under the National Cryptographic Standards (NCS) framework. Approved for protecting sensitive data within Saudi governmental and critical infrastructure systems.
Source:
https://nca.gov.sa/ncs_en.pdf
National Cryptographic Standards (NCS–1:2020)
🇩🇪 EC-GDSA, EC-SDSA, ECKA-EG, Brainpool — German national elliptic curve cryptographic standards
Standardized by the BSI (Federal Office for Information Security) in the technical guideline BSI TR-03111, these cryptographic algorithms and curve parameters are used for secure digital signatures, key exchange, and public key infrastructures in German governmental and high-security environments.
- EC-GDSA (German Digital Signature Algorithm): A flexible variant of ECDSA with enhanced domain separation and customization capabilities, adapted for German security requirements.
- EC-SDSA (Schnorr Digital Signature Algorithm): A curve-based implementation of the Schnorr signature scheme, offering provable security and better efficiency than ECDSA, defined in ISO/IEC 14888-3:2018.
- ECKA-EG (Elliptic Curve Key Agreement – ElGamal): A key agreement scheme based on EC-ElGamal, enabling secure exchange of symmetric keys.
- Brainpool curves: A family of elliptic curves (e.g., brainpoolP256r1, brainpoolP384r1, brainpoolP512r1) defined in RFC 5639, recommended by the BSI for use with the above algorithms. Designed to offer high security without potential concerns associated with some NIST curves.
These standards are applied in German eID systems, national PKI, military communication, and EU-coordinated cybersecurity frameworks.
🇺🇸 AES, SHA-1, SHA-2, SHA-3, X25519, Ed25519, Ascon — United States NIST cryptographic standards
- AES (Advanced Encryption Standard, FIPS 197) for symmetric encryption;
- SHA-1 and SHA-2 (Secure Hash Standard, FIPS 180-2);
- SHA-3 (based on Keccak, FIPS 202) for hashing;
- Elliptic curve algorithms X25519 and Ed25519 standardized in NIST SP800-186;
- Lightweight authenticated encryption algorithm Ascon standardized under NIST SP800-232.
All maintained and published by the National Institute of Standards and Technology (NIST) for U.S. federal government use and adoption.
🇪🇺 Whirlpool, RIPEMD, PRESENT, BLS/BN curves — European cryptographic standards (ISO/IEC)
Developed by researchers from Belgium, Germany, and Austria, these algorithms have been standardized by ISO/IEC for international use.
- Whirlpool: A hash function designed by Vincent Rijmen (Belgium) and Paulo Barreto, standardized in ISO/IEC 10118-3:2003.
- RIPEMD: Developed under the EU-funded RIPE project, standardized in the same ISO/IEC 10118-3 family (RIPEMD-128/160/256).
- PRESENT: A lightweight block cipher co-developed by TU Graz (Austria) and Ruhr-University Bochum (Germany), standardized in ISO/IEC 29192-2:2019 for constrained devices.
- BLS (Barreto-Lynn-Scott) and BN (Barreto-Naehrig) curves: Pairing-friendly elliptic curves standardized in ISO/IEC 15946-5:2022, widely used in identity-based and pairing-based cryptography.
- Identity-Based Encryption (IBE): General IBE mechanisms standardized in ISO/IEC 18033-5:2015, including several schemes developed and formalized by researchers at EU institutions.
These algorithms reflect Europe’s strong academic and institutional contributions to international cryptographic standards.
🌐 Other Notable Cryptographic Curves
🇮🇳 KG-256r1, KG-384r1 (Indian research) — Proposed by Kunal Abhishek and Dr. E. George Dharma Prakash Raj, 2021.
🇪🇺 Tom-256, Tom-384 (European research) — Benchmark curve referenced in IACR ePrint 2021/1183.
graph LR
%% --- Root ---
Internet["🌐 Internet / Global Standards"]
%% --- Americas ---
subgraph Americas["Americas"]
NIST["🇺🇸 USA (NIST / IETF)"]
Brazil["🇧🇷 Brazil (ITI DOC-ICP-01.01)"]
Canada["🇨🇦 Canada"]
end
%% --- Europe ---
subgraph Europe["Europe"]
EU["🇪🇺 European Union"]
Germany["🇩🇪 Germany"]
France["🇫🇷 France"]
Bulgaria["🇧🇬 Bulgaria"]
Belarus["🇧🇾 Belarus"]
Russia["🇷🇺 Russia (GOST)"]
Ukraine["🇺🇦 Ukraine"]
end
%% --- Asia ---
subgraph Asia["Asia"]
Japan["🇯🇵 Japan (Industry)"]
Korea["🇰🇷 South Korea (KISA)"]
China["🇨🇳 China (SMx)"]
Saudi["🇸🇦 Saudi Arabia"]
end
%% --- Connect continents to Internet ---
Internet --> Americas
Internet --> Europe
Internet --> Asia
%% --- USA Algorithms ---
subgraph NIST_alg["USA Algorithms (Main Modern Standards)"]
AES["AES"]
SHA2["SHA-2"]
SHA3["SHA-3"]
X25519["X25519"]
Ed25519["Ed25519"]
end
NIST --> NIST_alg
%% --- Brazil Algorithms ---
subgraph Brazil_alg["Brazil Algorithms"]
Ed521["Ed521"]
end
Brazil --> Brazil_alg
%% --- Canada Algorithms ---
subgraph Canada_alg["Canada Algorithms"]
CAST5["CAST5"]
CAST256["CAST256"]
end
Canada --> Canada_alg
%% --- EU Algorithms ---
subgraph EU_alg["EU Algorithms"]
Whirlpool["Whirlpool"]
RIPEMD["RIPEMD"]
PRESENT["PRESENT"]
BLS_BN_EU["BLS/BN Curves"]
end
EU --> EU_alg
%% --- Germany Algorithms ---
subgraph Germany_alg["Germany Algorithms"]
EC_GDSA["EC-GDSA"]
EC_SDSA["EC-SDSA"]
Brainpool["Brainpool Curves"]
end
Germany --> Germany_alg
%% --- France Algorithms ---
subgraph France_alg["France Algorithms"]
ANSSI["ANSSI frp256v1"]
end
France --> France_alg
%% --- Bulgaria Algorithms ---
subgraph Bulgaria_alg["Bulgaria Algorithms"]
KG["KG Curves"]
end
Bulgaria --> Bulgaria_alg
%% --- Ukraine Algorithms ---
subgraph Ukraine_alg["Ukraine Algorithms"]
Kalyna["Kalyna"]
Kupyna["Kupyna"]
end
Ukraine --> Ukraine_alg
%% --- Russia Algorithms ---
subgraph Russia_alg["Russia Algorithms"]
GOST["GOST"]
Kuznechik["Kuznechik"]
Streebog["Streebog"]
end
Russia --> Russia_alg
%% --- Belarus Algorithms ---
subgraph Belarus_alg["Belarus Algorithms"]
BignV1["BignV1"]
BelT["Bel-T"]
BASH["BASH"]
end
Belarus --> Belarus_alg
%% --- Japan Algorithms ---
subgraph Japan_alg["Japan Algorithms"]
Camellia["Camellia"]
KCipher2["KCipher-2"]
end
Japan --> Japan_alg
%% --- South Korea Algorithms ---
subgraph Korea_alg["South Korea Algorithms"]
ARIA["ARIA"]
SEED["SEED"]
LEA["LEA"]
LSH["LSH"]
KCDSA["KCDSA"]
end
Korea --> Korea_alg
%% --- China Algorithms ---
subgraph China_alg["China Algorithms"]
SM2["SM2"]
SM3["SM3"]
SM4["SM4"]
SM9["SM9"]
ZUC["ZUC"]
end
China --> China_alg
%% --- Saudi Arabia Algorithms ---
subgraph Saudi_alg["Saudi Arabia Algorithms"]
Snow2["SNOW 2.0"]
Sosemanuk["Sosemanuk"]
end
Saudi --> Saudi_alg
Check the Technical Guideline and the Wiki
Command-line Integrated Security Suite
Asymmetric
Symmetric
AEAD
Authenticated encryption (AE) and authenticated encryption with associated data (AEAD) are forms of encryption which simultaneously assure the confidentiality and authenticity of data. Provides both authenticated encryption (confidentiality and authentication) and the ability to check the integrity and authentication of additional authenticated data (AAD) that is sent in the clear.
AEAD OpenSSL-PHP and libsodium compliance
OpenSSL-PHP
<?php
function encrypt($plaintext, $key, $aad = '') {
$nonceSize = 12; // Chacha20-Poly1305 standard nonce size
$nonce = random_bytes($nonceSize);
$ciphertext = openssl_encrypt(
$plaintext,
'chacha20-poly1305',
$key,
OPENSSL_RAW_DATA,
$nonce,
$tag,
$aad
);
return $nonce . $ciphertext . $tag;
}
function decrypt($ciphertext, $key, $aad = '') {
$nonceSize = 12; // Chacha20-Poly1305 standard nonce size
$tagSize = 16; // Assuming a 16-byte tag
$nonce = substr($ciphertext, 0, $nonceSize);
$tag = substr($ciphertext, -$tagSize);
$ciphertext = substr($ciphertext, $nonceSize, -$tagSize);
return openssl_decrypt(
$ciphertext,
'chacha20-poly1305',
$key,
OPENSSL_RAW_DATA,
$nonce,
$tag,
$aad
);
}
// Example usage:
$keyHex = ''; // Provide your key in hexadecimal format
$key = hex2bin($keyHex);
$plaintext = "Hello, Chacha20-Poly1305!";
// Encrypt
$ciphertext = encrypt($plaintext, $key);
echo "Encrypted: " . bin2hex($ciphertext) . PHP_EOL;
// Decrypt
$decrypted = decrypt($ciphertext, $key);
echo "Decrypted: " . $decrypted . PHP_EOL;
?>
libsodium Python
import nacl.bindings
import binascii
# Fixed key (32 bytes)
key_hex = "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f"
key = binascii.unhexlify(key_hex)
# Open the file generated by EDGETk (nonce + ciphertext + tag)
with open("ciphertext.bin", "rb") as f:
data = f.read()
# Extract the nonce (12 bytes), and ciphertext + tag (remaining bytes)
nonce = data[:12]
ciphertext_and_tag = data[12:]
# Decrypt using libsodium (via PyNaCl bindings)
try:
plaintext = nacl.bindings.crypto_aead_chacha20poly1305_ietf_decrypt(
ciphertext_and_tag, # ciphertext + tag
aad=None, # no AAD (Additional Authenticated Data) was used
nonce=nonce,
key=key
)
print("Decrypted message:", plaintext.decode())
except Exception as e:
print("Decryption failed:", e)
ANSSI
Parameters for the ANSSI FRP256v1 Elliptic curve, Agence nationale de la sécurité des systèmes d’information. “Publication d’un paramétrage de courbe elliptique visant des applications de passeport électronique et de l’administration électronique française.” 21 November 2011.
BignV1
The Bign algorithm is a Schnorr-type signature scheme adopted as the standard in Belarus (STB 34.101.45). Below are the equations and descriptions associated with the signing and verification phases of Bign.
BignV1 Theory
Parameters
- $l \in {128, 192, 256}$ — Security level.
- $q$ — A $2l$-bit prime number.
- $G$ — A generator of an Abelian group $\langle G \rangle$ of order $q$.
- $H$ — An external hash function: $H: {0, 1}^* \to {0, 1}^{2l}$.
- $OID(H)$ — An identifier uniquely identifying the hash function $H$ (an ASN.1 object identifier).
- $h$ — An internal hash function: $h: {0, 1}^* \to {0, 1}^l$.
Private Key
- $d$ — A secret random/pseudorandom element from ${1, 2, \dots, q-1}$.
Public Key
- $Q = dG$ — The public key associated with the private key $d$.
Message to be signed
Signing
The signature $s$ of a message $X$ is generated as follows:
-
Choose $k$:
Select a random (or pseudorandom) value $k$ from ${1, 2, \dots, q-1}$.
-
Calculate $R$:
$R = kG$ — The point $R$ is calculated by multiplying the random value $k$ by the generator $G$.
-
Calculate $s_0$:
$s_0 = h(OID(H) | R | H(X))$ — Here, $s_0$ is computed by the internal hash function $h$, which involves the identifier of $H$, $R$, and the hash of the message $H(X)$.
-
Calculate $s_1$:
$s_1 = (k - H(X) - (s_0 + 2^l) d) \mod q$ — The value $s_1$ is computed using $k$, $H(X)$, $s_0$, and the private key $d$, with a modular operation based on the prime $q$.
-
Final signature:
$s = s_0 | s_1$ — The final signature $s$ is the concatenation of $s_0$ and $s_1$.
-
Return the signature:
The signature $s$ is returned.
Verification
To verify the signature $s = s_0 | s_1$ of a message $X$ with public key $Q$:
-
Verify the length of $s$:
If $|s| \neq 3l$, return 0 (invalid signature).
-
Extract $s_0$ and $s_1$:
Split $s = s_0 | s_1$, where $|s_0| = l$ and $|s_1| = 2l$.
-
Verify $s_1$:
If $s_1 \geq q$, return 0 (invalid signature).
-
Calculate $R$:
Compute $R = (s_1 + H(X))G + (s_0 + 2^l)Q$.
-
Verify $R$:
If $R = O$ (the identity element of the group), return 0 (invalid signature).
-
Verify the hash:
If $h(OID(H) | R | H(X)) \neq s_0$, return 0 (invalid signature).
-
Valid signature:
If all checks pass, return 1 (valid signature).
Design Rationale
-
Short signatures:
The algorithm uses Schnorr’s compression and reduces the length of $s_0$ from $2l$ to $l$ bits, resulting in shorter signatures and faster verification (1.5 exponentiations instead of 2).
-
Pre-hashing:
Instead of directly using $h(R | X)$, the algorithm uses pre-hashing: $s_0 = h(OID(H) | R | H(X))$. This protects against multiple-target preimage attacks and facilitates integration with existing APIs and data formats.
-
“Whitening” the signature:
The second part of the signature ($s_1$) is “whitened” by using $Y = H(X)$. This makes finding collisions more difficult, providing security with strength $2^l$.
-
Use of $Q$ during verification:
While hashing $Q$ during signature generation could help protect against certain attacks, this approach is rejected, as key distribution should already provide protection, and hashing $Q$ would duplicate the proof of possession during key distribution.
-
Deterministic signature:
The generation of the ephemeral public key $k$ can be made deterministic using a special key generation algorithm $genk$. This involves hashing and symmetric encryption of data such as $OID(H)$, $d$, and $H(X)$ to produce a unique $k$.
BN256 (Barreto-Naehrig)
The BN256 (ISO/IEC 15946-5:2022) is an elliptic curve used in cryptography, particularly for pairing-based cryptographic protocols like identity-based encryption and short signatures. It was introduced by Paulo S. L. M. Barreto and Michael Naehrig as part of their work on constructing efficient elliptic curves for pairings.
BN256 Theory
Key Generation
- Private Key (sk): Randomly selected from $r \in \mathbb{Z}_n$, where $n$ is the curve order. It must remain secret.
- Public Key (pk): $pk = sk * G2$, where $G2$ is the generator point of the curve.
Signing
- Choose $k \in \mathbb{Z}_n$, keep it secret, and ensure it’s never reused.
- Compute $\sigma = k \cdot H(M)$, where $H(M)$ is the hash of the message $M$.
- The final signature is $\sigma = sk \cdot H(M)$, where $sk$ is the private key and $H(M)$ is the hash of the message.
Verification
- Verify the signature: $e(σ, G2) = e(H(M), pk)$, where $e$ is the bilinear pairing.
- If the pairing holds, the signature is valid; otherwise, it’s invalid.
Verification Equation:
$e(sk * H(M), G2) = e(H(M), sk * G2)$, or equivalently, $e(H(M), pk) = e(H(M), pk)$. If true, the signature is valid.
Curupira
Curupira is a 96-bit block cipher, with keys of 96, 144 or 192 bits, and variable number of rounds, an algorithm described at SBRC 2007 by Paulo S. L. M. Barreto and Marcos A. Simplício Jr., from Escola Politécnica da Universidade de São Paulo (USP), São Paulo, Brazil.
$$
\text{Curupira}[K] \equiv \sigma[\kappa^{®}] \circ \pi \circ \gamma \circ \left( \prod_{r=1}^{R-1} \sigma[\kappa^{®}] \circ \theta \circ \pi \circ \gamma \right) \circ \sigma[\kappa^{(0)}]
$$
Digital Signature Algorithms
ElGamal-based algorithms
Here are the main differences between ECDSA, ECGDSA, and ECKCDSA:
$\text{ECDSA: Compute } r = x([k]B); \text{ s must be a root of } H(m)s^{-1} + rs^{-1}a - k \text{ modulo } n,$
$\text{ so compute } s \equiv k^{-1} \left( H(m) + ra \right) \pmod{n}.$
$\text{EC-GDSA: Compute } r = x([k]B); \text{ s must be a root of } r^{-1}H(m) + r^{-1}sa - k \text{ modulo } n,$
$\text{ so compute } s \equiv a^{-1} \left( kr - H(m) \right) \pmod{n}.$
$\text{EC-KCDSA: Compute } r = H(x([k]G));$
$\text{ so compute } s \equiv a \cdot \left( k - (r \oplus H(cQ \parallel M)) \bmod n \right) \bmod n.$
$\text{GOST: Compute } r = x([k]G) \mod q;$
$\text{ so compute } s \equiv (r \cdot d + k \cdot H(m)) \mod q.$
Schnorr-based algorithms
$\text{BignV1: Compute } R = [k]G; s_0 \text{ must be a root of } h(OID(H) \parallel R \parallel H(X)),$
$\text{ so compute } s_1 \equiv (k - H(X) - (s_0 + 2^l)d) \mod q.$
$\text{EC-SDSA: Compute } W = k \cdot G, r = H(W_x \parallel W_y \parallel m) \mod q,$
$\text{ so compute } e = \text{OS2I}® \mod q, \text{ and } s = (k + e \cdot d) \mod q.$
$\text{EdDSA: Compute } R = [k] G; S \equiv k + H(R \parallel m) \cdot d \mod q, \text{where } H \text{ is a hash function and } d \text{ is the private key}.$
Boneh–Lynn–Shacham Signatures
$\text{BLS: Compute } \sigma = H(m) \cdot x, \text{ where } H(m) \text{ is the message hash and } x \text{ is the private key.}$
Notes
- $H(m)$ represents the hash value of the message.
- $k^{-1}$ denotes the modular multiplicative inverse of $k$ modulo $(p-1)$.
- $\equiv$ indicates congruence.
- $\oplus$ represents the XOR operation.
ElGamal
The ElGamal algorithm is a public-key cryptography system that enables secure communication between two parties, involving asymmetric keypair generation and cryptographic operations. Initially, a large prime number $p$ and a generator $g$ for a finite cyclic group are generated. Each entity possesses a private key $x$, kept secret, and a public key $Y$, derived from $g^x \mod p$. To encrypt a symmetric key, the sender uses the session key, computes two components (a) and (b), and sends $g^k \mod p$ and $Y^k \cdot \text{key} \mod p$ to the recipient. The recipient, using their private key, decrypts the symmetric key. The ElGamal algorithm is known for its security based on the difficulty of solving the discrete logarithm problem and provides confidentiality and authentication properties. It was described by Taher A. Elgamal in 1985.
ElGamal Theory
Key Generation
- Generate a large prime number $p$.
- Select a generator $g \in [2, p-2]$.
- Generate a private key $x$ randomly.
- Compute the public key $Y = g^x \mod p$.
Digital Signature
- Select a random value $k$ such that $1 < k < p-1$, $\text{gcd}(k, p-1) = 1$.
- Compute the first signature component: $r = g^k \mod p$.
- Compute the second signature component: $s \equiv (H(m) - x \cdot r) \cdot k^{-1} \mod (p-1)$.
Digital Signature Verification
- Receive the message $m$ and the signature components $(r, s)$.
- Compute $w \equiv s^{-1} \mod (p-1)$.
- Compute $u_1 \equiv H(m) \cdot w \mod (p-1)$.
- Compute $u_2 \equiv r \cdot w \mod (p-1)$.
- Compute $v \equiv g^{u_1} \cdot Y^{u_2} \mod p$.
- The signature is valid if $v \equiv r \mod p$.
Key Agreement
- Bob generates his key pair $(x_B, Y_B)$.
- Bob shares his public key $Y_B$ with Alice.
- Alice generates a random symmetric key $K_{\text{sym}}$.
- Alice encrypts $K_{\text{sym}}$ using Bob’s public key:
$a = g^{k_A} \mod p, \
b = Y_B^{k_A} \cdot K_{\text{sym}} \mod p$.
- Alice sends the ciphertext $(a, b)$ to Bob.
- Bob decrypts the received ciphertext using his private key to obtain:
$K_{\text{sym}} = (b \cdot a^{-x_B}) \mod p$.
- Now, both Alice and Bob have the shared symmetric key $K_{\text{sym}}$ for further communication.
EC-ElGamal
The EC-ElGamal algorithm is a cryptographic scheme based on elliptic curves that enables the encryption of messages between two parties using a shared public key. Is a cryptographic scheme that allows secure message transmission over an insecure channel. The algorithm relies on the mathematical properties of elliptic curves to ensure the confidentiality of messages.
Pure EC-ElGamal
EC-ElGamal encryption using elliptic curves allows secure message transmission by having Alice generate a private key $y$ and a public key $Y = y \cdot G$, while Bob encrypts a message $M$ with a random value $r$, computing $C_1 = r \cdot G$ and $C_2 = r \cdot Y + M$, and Alice decrypts using $M = C_2 - y \cdot C_1$.
First, Alice generates a private key $y$ and a public key of:
$Y = y \cdot G$
where $G$ is the base point on the curve. She can share this public key $Y$ with Bob. When Bob wants to encrypt something for Alice, he generates a random value $r$ and the message value $M$, and then computes:
$C_1 = r \cdot G$
$C_2 = r \cdot Y + M$
To decrypt, Alice takes her private key $y$ and computes:
$M = C_2 - y \cdot C_1$
This works because:
$M = C_2 - y \cdot C_1 = r \cdot y \cdot G + M - y \cdot r \cdot G = M$
flowchart TD
Start([Start]) --> Setup
subgraph Setup[System Parameters]
SP1[Elliptic Curve E]
SP2[Generator Point G]
SP3[Order n]
end
Setup --> KeyGen
subgraph KeyGen[Key Generation - Alice]
KG1[Select random y]
KG1 --> KG2[Compute Y = y * G]
KG2 --> KG3[Public Key: Y]
KG1 --> KG4[Private Key: y]
end
KeyGen --> Encrypt
subgraph Encrypt[Encryption - Bob]
ENC1[Message M]
ENC2[Select random r]
ENC2 --> ENC3[C1 = r * G]
ENC2 --> ENC4[C2 = M + r * Y]
ENC3 --> ENC5[Ciphertext C1, C2]
ENC4 --> ENC5
end
Encrypt --> Decrypt
subgraph Decrypt[Decryption - Alice]
DEC1[Receive C1, C2]
DEC1 --> DEC2[Compute y * C1]
DEC2 --> DEC3[M = C2 - y * C1]
DEC3 --> DEC4[Recovered Message M]
end
Decrypt --> End([End])
GOST (GOvernment STandard of Russian Federation)
GOST refers to a set of technical standards maintained by the Euro-Asian Council for Standardization, Metrology and Certification (EASC), a regional standards organization operating under the auspices of the Commonwealth of Independent States (CIS).
Key sizes
-
Bit-length Equivalence
| Symmetric Key Size |
RSA and EG Key Size |
ECC Key Size |
| 80 |
1024 |
160 |
| 112 |
2048 |
224 |
| 128 |
3072 |
256 |
| 192 |
7680 |
384 |
| 256 |
15360 |
512 |
IBE
Identity-Based Encryption (IBE) is a cryptographic scheme that enables users to encrypt and decrypt messages using easily memorable and publicly known information, such as an email address or user identity, as the public key. In IBE, the sender encrypts a message with the recipient’s identity, and the recipient, possessing a private key generated by a trusted authority known as Key Generation Authority (KGA), can decrypt the message. Unlike traditional public-key cryptography, IBE eliminates the need for a centralized public key directory, as the user’s identity itself serves as the public key. This convenience in key management makes IBE particularly suitable for secure communication in decentralized or large-scale systems, where distributing and managing individual public keys may be impractical.
IBE Key Management System (KMS)
Figure 1
graph LR
subgraph IBEKeyManagementSystem["Key Management System"]
direction TB
PKG["Private Key Generator (PKG)"]
RA["Registration Authority (RA)"]
PPS["Public Parameter Server (PPS)"]
User["User/Client"]
end
PKG <-->|Secure Channel| RA
PKG --> PPS
RA <-->|Secure Channel| User
PPS -.->|Public Parameters| User
classDef dashed stroke-dasharray: 5 5
class IBEKeyManagementSystem dashed
The IBE’s Key Management System (KMS) consists of the Private Key Generator (PKG), Registration Agency (RA), Public Parameter Server (PPS), and User Terminal Entity (User/Client). The system architecture is illustrated in Figure 1. The functions of each entity are described below.
1. Private Key Generation Center (PKG):
- Function: Uses the system master key and related parameters to generate private keys for users. Provides related management and query services.
2. Registration Service (RA):
- Functions:
- Undertakes tasks related to user key application registration, authentication, management, and business communication with PKG.
- Provides symmetric, asymmetric, and hash cryptographic services.
- Receives key data returned by PKG and writes it into the key carrier of the terminal entity.
3. Public Parameter Service (PPS):
- Function: A user-oriented information service system, providing publicly accessible addresses for secure query and distribution of public parameters and policies. Public parameters include password parameters and user ID status directories that can be shared publicly.
4. User Terminal Entity (User/Client):
- Functions:
- Terminal application system of the user information service system.
- Applies for keys directly from PKG or through a local agent.
- Realizes the storage and use of its own private keys.
IBE Key Management System Architecture:
- Secure Channels: The generation and distribution of user keys mainly involve entities such as PKG, RA, and User/Client. This is achieved by establishing secure channels between PKG and RA, and between RA and User/Client, ensuring secure transfer and download of keys.
Summary:
The architecture of the IBE Key Management System ensures secure generation of private keys by PKG, tasks of key registration and application are carried out by RA, public parameters are provided by PPS, and users interact with the system through the User/Client terminal. Secure channels facilitate the transfer and download of keys between these entities, ensuring the overall security of the key management system.
Threshold IBE
Threshold IBE enhances the classic Boneh-Franklin scheme by introducing a distributed Private Key Generator (PKG). Instead of a single trusted entity holding the master secret key, the secret is shared across multiple servers using Shamir’s Secret Sharing. To extract a private key for a given identity, at least $t$ out of $n$ servers must collaborate. Each server computes a partial key share, which is then combined via Lagrange interpolation to reconstruct the user’s full private key. This model mitigates single points of failure and strengthens resilience against key compromise.
graph TD
TA[Trusted Authority] --> S1[Server 1]
TA --> S2[Server 2]
TA --> S3[Server 3]
TA --> S4[Server 4]
TA --> S5[Server 5]
S1 -.-> User
S3 -.-> User
S5 -.-> User
User --> Key[Private Key]
subgraph Formulas
F1["Setup:
s ∈ Z_q
f(x) = s + a₁x + ... + aₜ₋₁xᵗ⁻¹
sᵢ = f(i)"]
F2["Partial Key Extraction:
Q_ID = H₁(ID)
dᵢ = sᵢ · Q_ID"]
F3["Key Reconstruction:
λⱼ = Π (xₖ/(xₖ - xⱼ))
d_ID = Σ λⱼ · dᵢⱼ"]
end
F1 -.-> TA
F2 -.-> S5
F3 -.-> Key
%% Threshold indication
S1:::threshold
S3:::threshold
S5:::threshold
classDef threshold stroke-dasharray: 5 5
1. Setup (master authority splits the secret)
- Let $s \in \mathbb{Z}_q$ be the master secret (the PKG’s private key).
- A random polynomial of degree $t - 1$ is defined as $f(x) = s + a_1 x + a_2 x^2 + \dots + a_{t-1} x^{t-1}$.
- Each server $i \in {1, 2, \dots, n}$ receives a partial key (a point on the polynomial): $s_i = f(i)$.
- The public key of the system is: $P_{\text{pub}} = s \cdot P$.
- The identity is mapped to a point on the elliptic curve group: $Q_{\text{ID}} = H_1(\text{ID}) \in G_1$.
- Each server computes its partial private key: $d_i = s_i \cdot Q_{\text{ID}}$.
3. Combining Partial Keys (Lagrange Interpolation)
- Given a subset of $t$ partial keys $d_{i_1}, d_{i_2}, \dots, d_{i_t}$, compute the Lagrange coefficients:
$\lambda_j = \prod_{\substack{1 \leq k \leq t \ k \ne j}} \frac{x_k}{x_k - x_j}$.
- The final private key for the identity is reconstructed as:
$d_{\text{ID}} = \sum_{j=1}^{t} \lambda_j \cdot d_{i_j} = s \cdot Q_{\text{ID}}$.
This Threshold IBE/IBS scheme supports the Cha-Cheon, Hess, and Boneh-Franklin constructions, i.e., schemes where the private key lies in $G_1$, the public key lies in $G_2$, and the private key extraction involves only linear operations (scalar multiplication), without requiring inversion or non-linear computations. This compatibility is crucial for enabling threshold key extraction via Shamir’s Secret Sharing, as each server can compute a partial key share in $G_1$, which can then be linearly combined using Lagrange interpolation to reconstruct the full private key $s \cdot Q_{\text{ID}}$.
Keying material is in general to include things like shared Diffie-Hellman secrets (which are not suitable as symmetric keys), which have more structure than normal keys.
MAC
MAC (Message Authentication Code) is a cryptographic function used to ensure the integrity and authenticity of a message. It takes a message and a secret key as inputs and produces a fixed-size authentication tag, which is appended to the message. The receiver can then verify the authenticity of the message by recomputing the MAC using the shared secret key and comparing it to the received tag. If they match, the message is deemed authentic and unaltered.
ML-KEM, ML-DSA
Module-lattice-based algorithms, such as KEM (Key Encapsulation Mechanism) and DSA (Digital Signature Algorithm), are promising solutions in post-quantum cryptography that provide security against attacks from quantum computers. KEM facilitates secure key exchange by encapsulating a secret key in an object, leveraging complex mathematical problems like the Shortest Vector Problem (SVP) or Learning With Errors (LWE) to ensure security and efficiency. Meanwhile, DSA generates and verifies digital signatures, ensuring the authenticity and integrity of messages while also using lattice structures for protection against quantum algorithms. Together, these approaches represent a significant advancement for information security in the future.
NUMS
Microsoft Nothing Up My Sleeve Elliptic curves
NUMS (Nothing Up My Sleeve) curves, which are supported in the MSRElliptic Curve Cryptography Library (a.k.a. MSR ECCLib).
These curves are elliptic curves over a prime field, just like the NIST or Brainpool curves. However, the domain-parameters are choosen using a VERY TIGHT DESIGN SPACE to ensure, that the introduction of a backdoor is infeasable. For a desired size of $s$ bits the prime $p$ is choosen as $p = 2^s - c$ with the smallest $c$ where $c>0$ and $p$ mod 4 = 3 and $p$ being prime.
PBKDF2
PBKDF2 (Password-Based Key Derivation Function 2) is a widely used cryptographic function designed to derive secure cryptographic keys from weak passwords or passphrases. It applies a pseudorandom function, such as HMAC-SHA1, HMAC-SHA256, or HMAC-SHA512, multiple times in a loop, with a salt and a user-defined number of iterations, effectively increasing the computational cost of key generation. This technique enhances the resilience against brute-force attacks, making it more difficult and time-consuming for attackers to obtain the original password from the derived key.
Post-Quantum Cryptography (PQC)
Quantum computing is in an early stage of development and faces significant challenges, including the control and correction of quantum errors. Predictions vary, but many experts agree that we are still several years, or even decades, away from having the ability to build a quantum computer large enough to threaten public key cryptography algorithms currently considered secure. Scalable, sufficiently powerful quantum computers have not yet been constructed. Therefore, post-quantum cryptography is more of a precautionary measure, as classical algorithms remain secure for most everyday applications. Understand which algorithms have been compromised with the advent of quantum algorithms like Shor and Grover:
-
Security Level
| Name |
Function |
pre-quantum |
post-quantum |
| AES-128 |
block cipher |
128 |
64 (Grover) |
| AES-256 |
block cipher |
256 |
128 (Grover) |
| Salsa20 |
stream cipher |
256 |
128 (Grover) |
| GMAC |
MAC |
128 |
128 |
| Poly1305 |
MAC |
128 |
128 |
| SHA-256 |
hash function |
256 |
128 (Grover) |
| SHA-3 |
hash function |
256 |
128 (Grover) |
| RSA-3072 |
encryption |
128 |
broken (Shor) |
| RSA-3072 |
signature |
128 |
broken (Shor) |
| 256-bit ECDH |
key exchange |
128 |
broken (Shor) |
| 256-bit ECDSA |
signature |
128 |
broken (Shor) |
Schnorr Signatures
The key generation process begins with generating a safe prime $p = 2q + 1$, where both $p$ and $q$ are prime numbers. Then, a generator $g$ of a subgroup of order $q$ is computed. The private key $x$ is a randomly chosen integer in $[0, q - 1]$, and the public key is $y = g^x \mod p$. These values form the basis of the Schnorr signature system. Parameters $(p, q, g)$ are shared across users, while keys $x$ and $y$ are individual-specific. The Schnorr signature is generated by selecting a random nonce $k$, then computing a commitment $r = g^k \mod p$. A challenge $e$ is computed by hashing $r$ concatenated with the message. The response $s$ is then calculated using the formula $s = (k + e \cdot x) \mod q$. The final signature is the pair $(e, s)$, which is compact and secure under the discrete logarithm assumption. To verify a Schnorr signature, the verifier recomputes a value $r’$ from the response $s$ and the challenge $e$, using the public key. A hash is then computed from $r’$ and the message to produce $e’$. If $e’ = e$, the signature is valid.
Schnorr Signature Scheme
Key Generation
- Generate a prime $q$ of the desired bit length.
- Compute $p = 2q + 1$, and verify that $p$ is prime.
- Find a generator $g$ of the subgroup of order $q$ in $\mathbb{Z}_p^*$.
- Choose a private key $x \in [0, q - 1]$.
- Compute the public key $y = g^x \mod p$.
Signing
- Select a random $k \in [0, q - 1]$.
- Compute $r = g^k \mod p$.
- Compute the challenge $e = H(r \parallel m) \mod q$.
- Compute the response $s = (k + e \cdot x) \mod q$.
- The signature is the pair $(e, s)$.
Verification
- Receive the message $m$, and signature $(e, s)$.
- Compute $g^s \mod p$.
- Compute $y^e \mod p$ and its modular inverse.
- Compute $r’ = g^s \cdot (y^e)^{-1} \mod p$.
- Compute $e’ = H(r’ \parallel m) \mod q$.
- The signature is valid if $e’ = e$.
Notes
- $H(m)$ represents a cryptographic hash function (e.g., SHA-256).
- $k$ must be freshly generated for each signature and kept secret.
- $\parallel$ denotes byte-wise concatenation.
- The group $\mathbb{Z}_p^*$ must have a known subgroup of prime order $q$.
- The hash function must be collision-resistant and preimage-resistant.
ShangMi (SM) National secret SM2/SM3/SM4 algorithms
SM2 is a public key cryptographic algorithm based on elliptic curves, used for e.g. generation and verification of digital signatures; SM3, a hashing algorithm comparable to SHA-256; and SM4, a block cipher algorithm for symmetric cryptography comparable to AES-128. These standards are becoming widely used in Chinese commercial applications such as banking and telecommunications and are sometimes made mandatory for products procured by Chinese government agencies. SM4 is part of the ARMv8.4-A expansion to the ARM architecture.
SM9 GM/T 0044-2016 Public key algorithm 256-bit
Parameters for the sm9p256v1 Elliptic curve
SM9 is a Chinese National Identity Based Cryptography Standard and was originally published using a 256-bit Barreto-Naehrig Curve as its primary example. The new paper suggests that because attacks against some Barreto-Naehrig curves have improved that the SM9 standard should adopt a 384-bit Barreto-Naehrig Curve. The authors go on to suggest that this curve offers roughly 118 bits of security.
TLCP
TLCP (Transport Layer Security Protocol, defined by the Chinese standard GB/T 38636-2020) is the Chinese equivalent of TLS, with mandatory support for national cryptographic algorithms: SM2 (elliptic curves for signature and key exchange), SM3 (hash), and SM4 (block cipher). Unlike traditional TLS, TLCP requires the server to possess two distinct key pairs and certificates: one for signature (SM2) and another for encryption (SM2). The encryption key pair is generated by the Certification Authority (CA), not by the server — the CA generates the encryption private key and delivers it to the requester along with both certificates, making TLCP incompatible with standard TLS.
Transport Layer Security Protocol
Summary instructions for TLCP connection:
- Requester generates a signing key pair and submits a CSR to the CA.
- CA issues the signature certificate based on the received CSR.
- CA generates a new encryption key pair and creates a corresponding CSR using the original CSR as a template.
- CA issues the encryption certificate and returns to the requester: the signature certi
README 内容过长,已截取前 64 KB。完整内容请前往 GitHub 仓库查看。
评论