Aes ctr delphi3/11/2023 SysUtils, Windows, IdCoderMIME, TntLXUtils Here's my Delphi code: unit TntLXCryptoUtils įunction AES128_Encrypt(Value, Password: string): string įunction AES128_Decrypt(Value, Password: string): string I finally found a compatible solution between Delphi and C# for AES-128. ![]() (My example shows that my encrypted sequence is itself a string. But, I would like to avoid putting this in a DLL for P/Invoke. How can I decrypt the resulting string in C#? I can change the Delphi code. ![]() In Delphi, I'm using TurboPower LockBox 3: function EncryptText_AES_128(input: string password: string): string Ĭodec.CryptoLibrary := TCryptographicLibrary.Create(Codec) Ĭodec.StreamCipherId := BlockCipher_ProgID Ĭodec.BlockCipherId := Format(AES_ProgId, ) I'd like to upload this to my server and be able to decrypt given the same password in C#. I'd like to AES-128 encrypt a string in Delphi with a password.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |