mirror of
https://github.com/billbuchanan/appliedcrypto.git
synced 2026-02-21 11:18:02 +00:00
8 lines
125 B
Python
8 lines
125 B
Python
import passlib.hash;
|
|
|
|
salt="PkWj6gM4"
|
|
string="hello"
|
|
print ("APR1:"+passlib.hash.apr_md5_crypt.encrypt(string, salt=salt))
|
|
|
|
|