#!/usr/bin/env tclsh
if {$argc >= 1} {
set countString [lindex $argv 0]
} elseif {$argc == 0} {
puts "Please input a string"
exit
}
package require sha256
puts "String: $countString"
puts "Result: [string toupper [sha2::sha256 -hex $countString]]"
沒有留言:
張貼留言