Use hashlib library instead of deprecated md5 one

Change-Id: Ib8fae9545ff1c5b05e54b0a86a1dd7d80a50361c
Merge "Use hashlib library instead of deprecated md5 one"