3.6.3 Ed25519
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog SSL Interface
library(crypto): Cryptography and authentication library
Digital signatures
Ed25519
ed25519_new_keypair/1
ed25519_seed_keypair/2
ed25519_keypair_public_key/2
ed25519_sign/4
ed25519_verify/4
Availability:
:- use_module(
library(crypto)
).
(can be
autoloaded
)
[det]
ed25519_new_keypair
(
-KeyPair
)
KeyPair
is a new Ed25519 key pair, created from 32 random bytes obtained with
crypto_n_random_bytes/2
. It contains the private key and must be kept absolutely secret. See
ed25519_seed_keypair/2
.