Documented crypto module.
h3rald h3rald@h3rald.com
Sat, 08 Jul 2017 16:09:24 +0200
2 files changed,
31 insertions(+),
2 deletions(-)
M
min.nimble
→
min.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.md
→
site/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. #} +