~ubuntu-branches/debian/sid/bandit/sid

« back to all changes in this revision

Viewing changes to examples/crypto-md5.py

  • Committer: Package Import Robot
  • Author(s): Dave Walker (Daviey)
  • Date: 2015-07-22 09:01:39 UTC
  • Revision ID: package-import@ubuntu.com-20150722090139-fl0nluy0x8m9ctx4
Tags: upstream-0.12.0
ImportĀ upstreamĀ versionĀ 0.12.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import hashlib
 
2
 
 
3
hashlib.md5(1)
 
4
hashlib.md5(1).hexdigest()
 
5
 
 
6
abc = str.replace(hashlib.md5("1"), "###")
 
7
 
 
8
print(hashlib.md5("1"))