>>> import md5
Then make new instance>>> m = md5.new()
Then supply the resources>>> m.update("From Barack Obama")
>>> m.update("To Barack Obama")
Then process it>>> m.digest()
You want to more condese? Do like this one
>>> md5.new("From Barack Obama To Barack Obama").digest()
It's the same
>>> m.update("Me")
>>> m.update("You")
with>>> m.update("MeYou")
No comments:
Post a Comment