lib: Update sha1 and base64 to use Bytes instead of String
[nit.git] / examples / rosettacode / sha_1.nit
index 2eaf471..8776d48 100644 (file)
@@ -9,4 +9,4 @@ module sha_1
 
 import sha1
 
-print "Rosetta Code".sha1_to_s
+print "Rosetta Code".sha1.hexdigest