]> Repositorios git - scryer-prolog.git/commitdiff
"codes" --> "bytes"
authorMarkus Triska <[email protected]>
Wed, 20 May 2020 18:10:26 +0000 (20:10 +0200)
committerMarkus Triska <[email protected]>
Wed, 20 May 2020 20:32:39 +0000 (22:32 +0200)
Support for lists of bytes may be dropped from library(crypto). Use
lists of characters to make your code future-proof. Lists of
characters will always be supported due to their compactness,
and because Prolog applications should move towards characters.

src/prolog/lib/crypto.pl

index 1562b4c1c07a3b4bb97297665c3dd3cf0569e5e2..804c116f5b7e4279342d062731ac8af3cc006a51 100644 (file)
@@ -478,7 +478,7 @@ bytes_base64_([A,B,C|Ls]) --> [W,X,Y,Z],
    Algorithm, key Key, and initialization vector (or nonce) IV, to
    give CipherText.
 
-   PlainText must be a list of codes or characters, Key and IV must be
+   PlainText must be a list of bytes or characters, Key and IV must be
    lists of bytes, and CipherText is created as a list of characters.
 
    Keys and IVs can be chosen at random (using for example