Root > Reference > All Functions > TEADestroyKey

Procedure TEADestroyKey

Previous pageReturn to chapter overviewNext page   

Fills TEA key with zeros.







Code (Delphi)

procedure TEADestroyKey(

var AKey: TTEAKey




AKey [in]

TEA key to be wiped.



While calling this function is not strictly required (as TEA key does not hold any allocated resources which would require cleanup), but we strongly recommend to call this function for every TEA key once you have finished working with it.



Since default password (returned by TEADefaultKey) is always stored in memory - there is not much meaning to wipe default key after using it.


See also

Send feedback... Build date: 2022-03-28
Last edited: 2022-03-28
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: