1
2
3
4
5
6
7
8
9
10
11
12
|
# Auto generated from "MD5.txt"
package require tls
package require tcltest
tcltest::testConstraint MD5 [expr {[lsearch -nocase [tls::digests] MD5] > -1}]
tcltest::test Hash_MD5-1.1 {MD5} \
-constraints MD5 \
-setup {set data ""} \
-body {tls::digest -digest MD5 -data $data} \
-match exact -result d41d8cd98f00b204e9800998ecf8427e
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Auto generated from "MD5.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest
tcltest::testConstraint MD5 [expr {[lsearch -nocase [tls::digests] MD5] > -1}]
catch {tls::provider legacy}
tcltest::test Hash_MD5-1.1 {MD5} \
-constraints MD5 \
-setup {set data ""} \
-body {tls::digest -digest MD5 -data $data} \
-match exact -result d41d8cd98f00b204e9800998ecf8427e
|