Skip to content
Alver edited this page May 8, 2018 · 3 revisions

Ontology crypto provides several cryptography utilities for Ontology network.

Currently the main features are around digital signature and the purpose is to provide general APIs for processing keys and signatures.

Supported algorithms:

ID Algorithm
0x12 ECDSA
0x13 SM2
0x14 EdDSA

The algorithm ID is used in key serialization. Check here for more informations.

Supported signature schemes are listed as follows, with the name formated as with, where indicates the hash function and indicates the signature algorithm.

ID Signature Scheme
0 SHA224withECDSA
1 SHA256withECDSA
2 SHA384withECDSA
3 SHA512withECDSA
4 SHA3-224withECDSA
5 SHA3-256withECDSA
6 SHA3-384withECDSA
7 SHA3-512withECDSA
8 RIPEMD160withECDSA
9 SM3withSM2
10 SHA512withEdDSA

The leading number is the scheme ID used in signature serialization.

See each algorithm's page for details.

Clone this wiki locally