Expand description
RE crypto library
Structs§
- Represents a BLS12-381 G1 public key.
- Represents a BLS12-381 G2 signature (variant with 96-byte signature and 48-byte public key)
- Represents an ED25519 public key.
- Represents an ED25519 signature.
- Represents a 32-byte hash digest.
- Represents a 32-byte hash accumulator.
- Represents an ECDSA Secp256k1 public key.
- Represents an ECDSA Secp256k1 signature.
Enums§
- Represents an error when retrieving BLS public key from hex or when aggregating.
- Represents an error when retrieving BLS signature from hex or when aggregating.
- Represents an error when parsing ED25519 public key from hex.
- Represents an error when parsing hash.
- Represents an error when parsing ED25519 public key from hex.
- Represents any natively supported public key.
- The hash of a given public key.
Constants§
- BLS12-381 ciphersuite v1 It has following parameters
Traits§
Functions§
- Performs BLS12-381 G2 aggregated signature verification of multiple messages each signed with different key. Domain specifier tag: BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_
- Performs BLS12-381 G2 aggregated signature verification one message signed with multiple keys. Domain specifier tag: BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_
- Computes the hash digest of a message.
- Performs BLS12-381 G2 signature verification. Domain specifier tag: BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_