all repos — min @ 6fea138b76d96c4cce479f21805df24122f46da1

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

6fea138b76d96c4cce479f21805df24122f46da1

parent

b00b5b0a7fa2a6762cc45c686598b5c55ad0e168

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. #} -