mirror of
https://github.com/monero-project/monero.git
synced 2025-02-28 11:41:10 -05:00

The secret spend key is kept encrypted in memory, and decrypted on the fly when needed. Both spend and view secret keys are kept encrypted in a JSON field in the keys file. This avoids leaving the keys in memory due to being manipulated by the JSON I/O API.