com.southernstorm.noise.protocol

## Interface Destroyable

- All Known Subinterfaces:
    CipherState, DHState
  All Known Implementing Classes:
    ChaChaPolyCipherState, CipherStatePair, Curve25519DHState, HandshakeState, MLKEMDHState, Poly1305, SymmetricState

      public interface Destroyable

  Interface for objects that implement destroying. Applications that use the Noise protocol can inadvertently leave sensitive data in the heap if steps are not taken to clean up. This interface can be implemented by objects that know how to securely clean up after themselves. The Noise.destroy() function can help with destroying byte arrays that hold sensitive values.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroy()` Destroys all sensitive state in the current object.

- - ### Method Detail

    - #### destroy

          void destroy()

      Destroys all sensitive state in the current object.