fixed issue #15 in EncryptionHandler: moved to hashlib