import hashlib
Nonce = "6583620021732105022"
Salt = "2586456158"
Usr = "admin"
Psw = "10203040"
#SHA512(psw+salt)
con1 = Psw +Salt
Hash1 = hashlib.sha512(con1.encode('UTF-8'))
#sha512(Hash1+nonce)
con2 = Hash1.hexdigest()+Nonce
Hash2 = hashlib.sha512(con2.encode('UTF-8'))
#Result
Res = "LOGINPSW@"+Usr+":"+Hash2.hexdigest()
print(Res)
aW1wb3J0IGhhc2hsaWIKTm9uY2UgPSAiNjU4MzYyMDAyMTczMjEwNTAyMiIKU2FsdCA9ICIyNTg2NDU2MTU4IgpVc3IgPSAiYWRtaW4iClBzdyA9ICIxMDIwMzA0MCIKI1NIQTUxMihwc3crc2FsdCkKY29uMSA9IFBzdyArU2FsdApIYXNoMSA9IGhhc2hsaWIuc2hhNTEyKGNvbjEuZW5jb2RlKCdVVEYtOCcpKQojc2hhNTEyKEhhc2gxK25vbmNlKQpjb24yID0gSGFzaDEuaGV4ZGlnZXN0KCkrTm9uY2UKSGFzaDIgPSBoYXNobGliLnNoYTUxMihjb24yLmVuY29kZSgnVVRGLTgnKSkKCiNSZXN1bHQKUmVzID0gIkxPR0lOUFNXQCIrVXNyKyI6IitIYXNoMi5oZXhkaWdlc3QoKQpwcmludChSZXMp