Root > Reference > All Functions > TEADestroyKey

Procedure TEADestroyKey

Previous pageReturn to chapter overviewNext page   

Fills TEA key with zeros.

 

Unit

EEncrypt

 

Syntax

 

Code (Delphi)

procedure TEADestroyKey(

var AKey: TTEAKey

);

 

Parameters

AKey [in]

TEA key to be wiped.

 

Remarks

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.

 

Tip

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: 2024-09-30
Last edited: 2024-09-30
PRIVACY STATEMENT
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: https://www.eurekalog.com/help/eurekalog/topic_function_eencrypt_teadestroykey.php