all repos — min @ 2ce2291d5e7c988dacf7a324be4814bf51a4b190

A small but practical concatenative programming language.

site/contents/reference-crypto.md

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
-----
content-type: "page"
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}}. #}

{#op||sha1||{{sl}}||{{s}}||
Returns the SHA1 hash of {{sl}}. #}

{#op||sha224||{{sl}}||{{s}}||
Returns the SHA224 hash of {{sl}}. #}

{#op||sha256||{{sl}}||{{s}}||
Returns the SHA256 hash of {{sl}}. #}

{#op||sha384||{{sl}}||{{s}}||
Returns the SHA384 hash of {{sl}}. #}

{#op||sha512||{{sl}}||{{s}}||
Returns the SHA512 hash of {{sl}}. #}