mirror of
https://github.com/billbuchanan/appliedcrypto.git
synced 2026-02-21 11:18:02 +00:00
Update README.md
This commit is contained in:
@@ -372,7 +372,7 @@ import passlib.hash;
|
||||
|
||||
salt="PkWj6gM4"
|
||||
string="hello"
|
||||
print ("APR1:"+passlib.hash.apr_md5_crypt.encrypt(string, salt=salt))
|
||||
print ("APR1:"+passlib.hash.apr_md5_crypt.hash(string, salt=salt))
|
||||
```
|
||||
|
||||
We can created a simple Python program with the passlib library, and add the same salt as the example above:
|
||||
|
||||
Reference in New Issue
Block a user