Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomCipherComponent.CleanUp

procedure CleanUp; override;
Frees the underlying tCipher instance and resets InternalDirection back to Direction, so the component is ready to be keyed again (e.g. for a new message) via SetKey*. An application calls this to explicitly end one encrypt/decrypt operation before starting another with the same component instance, though most SetKey* calls do this internally too.