erase method

void erase()

Securely overwrites all sensitive data with zeros.

Call this method when the verification key data is no longer needed (e.g., after successfully sending it to the server) to prevent the password-derived data from lingering in memory.

Implementation

void erase() {
  key.overwriteWithZeros();
  salt.overwriteWithZeros();
}