Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

encrypt

$ hashed_password="$(python3 -c 'import crypt; import getpass; print(crypt.crypt(getpass.getpass(), crypt.METHOD_SHA512))')"
Source by linuxconfig.org #
 
PREVIOUS NEXT
Tagged: #encrypt
ADD COMMENT
Topic
Name
6+7 =