all repos — min @ a51944242671da0fe7f66b9e49c876f074fa377e

A small but practical concatenative programming language.

Documented crypto module.
h3rald h3rald@h3rald.com
Sat, 08 Jul 2017 16:09:24 +0200
commit

a51944242671da0fe7f66b9e49c876f074fa377e

parent

aef97d6a1a2d52209d1e6fbc9de94e511c2a39d4

2 files changed, 31 insertions(+), 2 deletions(-)

jump to
M min.nimblemin.nimble

@@ -1,6 +1,6 @@

[Package] name = "min" -version = "0.7.0" +version = "0.8.0" author = "Fabio Cevasco" description = "A tiny concatenative programming language and shell." license = "MIT"
M site/contents/_includes/_reference-crypto.mdsite/contents/_includes/_reference-crypto.md

@@ -1,1 +1,30 @@

-... +{@ _defs_.md || 0 @} + + +{#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}}. #} + +{#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), using {{sl2}} as password. #} +