PS E:\GitHub\how-does-navicat-encrypt-password\python3> python Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from NavicatCrypto import * >>> cipher = Navicat11Crypto() >>> cipher.EncryptString('This is a test') '0EA71F51DD37BFB60CCBA219BE3A' >>> cipher.DecryptString('0EA71F51DD37BFB60CCBA219BE3A') 'This is a test' >>> cipher2 = Navicat12Crypto() >>> cipher2.EncryptStringForNCX('This is a test') 'B75D320B6211468D63EB3B67C9E85933' >>> cipher2.DecryptStringForNCX('B75D320B6211468D63EB3B67C9E85933') 'This is a test' >>>