guildxyz / guild-zk

8 stars 0 forks source link

Use `zeroize` to clear out secret key from memory #34

Closed PopcornPaws closed 2 years ago

PopcornPaws commented 2 years ago

Desctiption

When a value is dropped it still remains in the memory, so in order to clear secret keys completely we should somehow zeroize them. See the zeroize crate