Monocypher

Boring crypto that simply works
CRYPTO_FROM_ED25519_PRIVATE(3MONOCYPHER) 3MONOCYPHER CRYPTO_FROM_ED25519_PRIVATE(3MONOCYPHER)

conversion of key pairs for EdDSA with BLAKE2b to X25519 key pairs

#include <monocypher-ed25519.h>

void
crypto_from_ed25519_private(uint8_t x25519[32], const uint8_t eddsa[32]);

void
crypto_from_ed25519_public(uint8_t x25519[32], const uint8_t eddsa[32]);

These functions work like crypto_from_eddsa_private() and crypto_from_eddsa_public(), except that they operate on Ed25519 key pairs rather than key pairs for EdDSA with BLAKE2b. Please see the documentation for those functions for details.

() is actually implemented as a macro that aliases to crypto_from_eddsa_public().

The crypto_from_ed25519_private() and crypto_from_ed25519_public() functions first appeared in Monocypher 3.1.0.

May 24, 2020 Debian