Root > Reference > All Types > TTwofishKey

Type TTwofishKey

Previous pageReturn to chapter overviewNext page   

(Precalculated) Key for Twofish encryption.







Code (Delphi)

TTwofishKey = TEncryptBuffer;



This is precalculated key used for symmetrical encryption and decryption by using Twofish cipher.


You need to free this key after you have done working with it - by using TwofishDestroyKey function.


This key can be created by TwofishDeriveKey function or be imported by TwofishInitKey function. You need to be careful when handling this key. I.e. leaking this key means leaking your key/password.


Use TwofishEncrypt function to encrypt "clear text" data, use TwofishDecrypt function to decrypt encrypted data and get "clear text" back.


See also

Send feedback... Build date: 2023-05-05
Last edited: 2023-05-05
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.

Permanent link to this article: