私はプログラマーとして、誰かが行うことはめったにないことを知っていますが、実際にはそれが必要であり、まったくできないので、誰かがこの小さな関数暗号化 python を Delphi 用に変換する必要があります。
function: `
from Crypto.Cipher import Blowfish
class Blowfish(object):
cipher = None
def __init__(self, key, mode = Blowfish.MODE_ECB):
self.cipher = Blowfish.new(key, mode)
def encrypt(self, texto):
encriptar = self.cipher.encrypt(texto)
return encriptar `
-
one example
key = 123key
text = hi man
result = ìûÕ]–•¢
私はDelphiでやろうとしたが、いつも違う結果を見せてくれるので、何度も人々に会い、より良い結果を出し、python / delphiを理解している人に頼む
ありがとうございます!