c# Programming Glossary: hcprov
How to AES-128 encrypt a string using a password in Delphi and decrypt in C#? http://stackoverflow.com/questions/9188045/how-to-aes-128-encrypt-a-string-using-a-password-in-delphi-and-decrypt-in-c function AES128_Encrypt Value Password string string var hCProv HCRYPTPROV hKey HCRYPTKEY lul_datalen Integer lul_buflen Integer.. Assert Password '' if Value '' then Result '' else begin hCProv __CryptAcquireContext PROV_RSA_AES try hKey __AES128_DeriveKeyFromPassword.. PROV_RSA_AES try hKey __AES128_DeriveKeyFromPassword hCProv Password try allocate buffer space lul_datalen Length Value..
|