--- parser3/tests/141.html 2003/07/24 06:25:36 1.1.2.3
+++ parser3/tests/141.html 2024/12/06 21:45:02 1.12
@@ -1,3 +1,48 @@
-$uuid[^math:uuid[]] ^uuid.length[]
-$uid64[^math:uid64[]] ^uid64.length[]
-^math:md5[123]
+1 $uuid[^math:uuid[]]^uuid.length[]
+1.1 $uuid[^math:uuid[ $.solid(true)]] ^uuid.length[]
+1.2 $uuid[^math:uuid[ $.lower(true)]] ^uuid.length[]
+1.3 $uuid[^math:uuid[ $.lower(true) $.solid(true)]] ^uuid.length[]
+
+1.5 $uid64[^math:uid64[]] ^uid64.length[]
+1.6 $uid64[^math:uid64[ $.lower(true) ]] ^uid64.length[]
+
+1.7 $uuid7[^math:uuid7[]]^uuid7.length[]
+1.8 $uuid7[^math:uuid7[ $.solid(true)]] ^uuid7.length[]
+1.9 $uuid7[^math:uuid7[ $.lower(true)]] ^uuid7.length[]
+1.10 $uuid7[^math:uuid7[ $.lower(true) $.solid(true)]] ^uuid7.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]
+
+$f[^file::create[test]]
+
+9 $r[^math:digest[sha512;123; $.hmac[$f] $.format[file] ]]
+ ^json:string[$r; $.file[base64] ]
+ ^math:digest[sha512;123; $.hmac[$f.text] $.format[base64] ]