Skip to Content

clearAllKeyPairs

clearAllKeyPairs(): void

Defined in: src/react/useEncryption.ts:1319 

Clears all key pairs from memory and any persisted entries in localStorage.

Matches the persistence behavior of the per-address clearKeyPair; without this, clearAllKeyPairs() would leave ecdh_keypair_* ciphertext behind in storage while clearKeyPair(address) removes it.

Returns

void

Last updated on