clear

fun clear()

Clears ALL key material from memory by filling with zeros.

CRITICAL: This wipes:

  • Private key (most sensitive)

  • Public key (for privacy)

  • Chain code (can derive child public keys)

After calling clear, this instance should not be used again. This method is idempotent - safe to call multiple times.