[][src]Module rust_ipv8::crypto::signature

This module contains all signature related crypto

Structs

KeyPair

Wrapper struct containing an Ed25519 Key Pair

Signature

A struct wrapping the 64 bytes of a Signature

Functions

sign

A function which takes in a KeyPair and message and returns only the signature

sign_packet

Helper method which can be used for signing Packets

verify

Ed25519 signature verification function

verify_packet

Wrapper function for verify taking packets as input

verify_raw

Wrapper function for verify taking bytes as input

Type Definitions

Ed25519PublicKey

Type representing a public key. Just a 32 byte array under the hood.