| libtorrent

Author: | Arvid Norberg, arvid@libtorrent.org
Version: | 1.1.5

home

# ed25519

Table of contents

- ed25519
  - ed25519_create_seed()
  - ed25519_key_exchange() ed25519_create_keypair() ed25519_verify() ed25519_sign() ed25519_add_scalar()

## ed25519_create_seed()

Declared in "libtorrent/ed25519.hpp"

    void ed25519_create_seed (unsigned char *seed);

## ed25519_key_exchange() ed25519_create_keypair() ed25519_verify() ed25519_sign() ed25519_add_scalar()

Declared in "libtorrent/ed25519.hpp"

    void ed25519_add_scalar (unsigned char *public_key, unsigned char *private_key, const unsigned char *scalar);
    void ed25519_key_exchange (unsigned char *shared_secret, const unsigned char *public_key, const unsigned char *private_key);
    void ed25519_create_keypair (unsigned char *public_key, unsigned char *private_key, const unsigned char *seed);
    int ed25519_verify (const unsigned char *signature, const unsigned char *message, size_t message_len, const unsigned char *private_key);
    void ed25519_sign (unsigned char *signature, const unsigned char *message, size_t message_len, const unsigned char *public_key, const unsigned char *private_key);