From: Markus Triska Date: Wed, 20 May 2020 21:17:42 +0000 (+0200) Subject: clarify format of public key X-Git-Tag: v0.8.123~7^2~6 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=e254d84710b5ccf64310145d063f197923c9dced;p=scryer-prolog.git clarify format of public key --- diff --git a/src/prolog/lib/crypto.pl b/src/prolog/lib/crypto.pl index 5807292e..0723fb29 100644 --- a/src/prolog/lib/crypto.pl +++ b/src/prolog/lib/crypto.pl @@ -640,6 +640,7 @@ encoding_bytes(utf8, Cs, Bs) :- - ed25519_keypair_public_key(+Pair, -PublicKey) PublicKey is the public key of the given key pair. The public key can be used for signature verification, and can be shared freely. + The public key is represented as a list of characters. - ed25519_sign(+Key, +Data, -Signature, +Options) Key and Data must be lists of characters. Key is a private key or