Posted to tcl by aspect at Mon Nov 28 10:49:21 GMT 2011view raw

  1. tclsh8.6 [~]package require md5
  2. ::md2.0.7
  3. tclsh8.6 [~]::md5::md5
  4. wrong # args: should be "md5 ?-hex? -filename file | string"
  5. while evaluating ::md5::md5
  6. tclsh8.6 [~]::md5::md5 [read [open /etc/hostname]]
  7. 'H÷÷þ¯²/Imr÷í
  8. tclsh8.6 [~]::md5::md5 -hex [read [open /etc/hostname]]
  9. 270C48F7F7FEAFB22F03496D7211F7ED
  10. tclsh8.6 [~]::md5::md5 -hex -file /etc/hostname
  11. 270C48F7F7FEAFB22F03496D7211F7ED
  12.