Method SecureKey():destroy() Professional
Destroys the internal buffers holding the key.
:destroy() --> self
This method returns the object executing the method.
The class SecureKey holds a key used for encryption in clear form, that is, uncrypted and unscrambled. However, the required period of time to hold a readable key in memory is usually very short. To make sure that the key is not readable by anybody else call :destroy() immediately after the key was accepted by a key consumer, like AesCrypt().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.