nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tests: update error_class_glob
[nit.git]
/
examples
/
rosettacode
/
sha_1.nit
1
#!/usr/bin/env nit
2
#
3
# This file is part of NIT ( http://www.nitlanguage.org ).
4
# This program is public domain
5
6
# Task: SHA-1
7
# SEE: <http://rosettacode.org/wiki/SHA-1>
8
module
sha_1
9
10
import
sha1
11
12
print
"Rosetta Code"
.
sha1
.
hexdigest