Post by Jan DrawskiFCodec.BlockCipherId := Format(AES_ProgId, [256]);
MD5_ProgId = 'native.hash.MD5';
DES_ProgId = 'native.DES';
TripleDES_ProgId = 'native.3DES.2';
TripleDES_KO1_ProgId = 'native.3DES.1';
Manual PHP
crypt() will return a hashed string using the standard Unix DES-based
algorithm or alternative algorithms that may be available on the system.
robię tak
function InternalEncrypt(): String;
var
i: integer;
Cipher: TDCP_rc4;
KeyStr: string;
begin
KeyStr:= password;
Cipher:= TDCP_rc4.Create(Self);
Cipher.InitStr(KeyStr,TDCP_haval); // initialize the cipher
with a hash of the passphrase
result:=Cipher.EncryptString(password);
Cipher.Burn;
Cipher.Free;
end;
Użyłem wszystkich z katalogu Hashes i nie działa