--- parser3/tests/141.html 2009/05/10 08:31:06 1.3
+++ parser3/tests/141.html 2019/11/13 22:48:30 1.9
@@ -1,4 +1,32 @@
-$uuid[^math:uuid[]]^uuid.length[]
-$uid64[^math:uid64[]]^uid64.length[]
-^math:md5[123]
-^math:sha1[123]
+1 $uuid[^math:uuid[]]^uuid.length[]
+1.1 $uid64[^math:uid64[]]^uid64.length[]
+
+2 $long[very-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-key]
+
+3 ^math:md5[123]
+3.1 ^math:digest[md5;123]
+3.2 ^math:digest[md5;123; $.hmac[pwd] ]
+3.3 ^math:digest[md5;123; $.hmac[$long] $.format[base64] ]
+
+4 ^math:sha1[123]
+4.1 ^math:digest[sha1;123]
+4.2 ^math:digest[sha1;123; $.hmac[pwd] ]
+4.3 ^math:digest[sha1;123; $.hmac[$long] $.format[base64] ]
+
+5 ^math:digest[sha256;123; $.hmac[pwd] ]
+5.1 ^math:digest[sha256;123; $.hmac[$long] $.format[base64] ]
+
+6 ^math:digest[sha512;123]
+6.1 ^math:digest[sha512;123; $.hmac[pwd] ]
+6.2 ^math:digest[sha512;123; $.hmac[$long$long] $.format[base64] ]
+
+$paf[^file::load[binary;019paf2001.gif]]
+
+7 ^math:digest[md5;$paf]
+7.1 ^math:digest[sha256;$paf]
+
+$s[{ "name": "^taint[json;va"lue]" }]
+$f[^file::create[$s]]
+
+8 ^math:md5[$s] = ^math:md5[$f.text]
+8.1 ^math:digest[sha1;$s] = ^math:digest[sha1;$f.text]