18.07.2019, 09:29
Try this for SHA512 + BASE64 encoding:
Python code that you've posted does password decryption.
Code:
require('encdec')
password = '123456'
password = encdec.sha512(password, true) -- binary form
password = encdec.base64enc(password)
Python code that you've posted does password decryption.