RosettaCodeData/Task/MD5-Implementation/Lingo/md5-implementation-2.lingo

13 lines
382 B
Plaintext

tests = []
tests.add("")
tests.add("a")
tests.add("abc")
tests.add("message digest")
tests.add("abcdefghijklmnopqrstuvwxyz")
tests.add("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")
tests.add("12345678901234567890123456789012345678901234567890123456789012345678901234567890")
repeat with t in tests
ba = md5(t)
put ba.toHexString(1, ba.length)
end repeat