dispose method

void dispose()

Wipes the secret key held in Rust memory. Every later use of this key throws a StateError, and disposing it again does nothing. Copies already exported, such as by toBytes, are not affected. Without a dispose, the key is only wiped if the garbage collector finalizes it, which is not guaranteed.

Implementation

void dispose() => _inner.dispose();