all repos — min @ 14336716c245b0e099e21cc1238e7d7028cc9c1e

A small but practical concatenative programming language.

Fixed minor mistakes in crypto docs.
h3rald h3rald@h3rald.com
Sun, 20 May 2018 12:43:06 +0200
commit

14336716c245b0e099e21cc1238e7d7028cc9c1e

parent

0bd00fad1d4d2cf0e676135997d4b6523e9a5aa0

1 files changed, 9 insertions(+), 10 deletions(-)

jump to
M site/contents/reference-crypto.mdsite/contents/reference-crypto.md

@@ -4,6 +4,15 @@ title: "crypto Module"

----- {@ _defs_.md || 0 @} +{#op||aes||{{sl1}} {{sl2}}||{{s}}|| +Encrypts or decrypts {{sl1}} using the Advanced Encryption Standard (AES) in CTR mode, using {{sl2}} as password. #} + +{#op||decode||{{sl}}||{{s}}|| +Decodes the Base64-encoded string {{sl}}. #} + +{#op||encode||{{sl}}||{{s}}|| +Base64-encodes {{sl}}. #} + {#op||md5||{{sl}}||{{s}}|| Returns the MD5 hash of {{sl}}. #}

@@ -21,13 +30,3 @@ Returns the SHA384 hash of {{sl}}. #}

{#op||sha512||{{sl}}||{{s}}|| Returns the SHA512 hash of {{sl}}. #} - -{#op||encode||{{sl}}||{{s}}|| -Base64-encodes {{sl}}. #} - -{#op||encode||{{sl}}||{{s}}|| -Decodes the Base64-encoded string {{sl}}. #} - -{#op||aes||{{sl1}} {{sl2}}||{{s}}|| -Encrypts or decrypts {{sl1}} using the Advanced Encryption Standard (AES) in CTR mode, using {{sl2}} as password. #} -