Struct il2_utils::mem::DefaultProtectedValue [−][src]
pub struct DefaultProtectedValue { /* fields omitted */ }Expand description
This struct implements the the default implementation of the
ProtectedValue trait. It uses a random mask to protect the value stored
in memory from simple memory scan attacks.
It is not the most sophisticated approach to this problem but is guaranteed to work on all platforms.
Implementations
Trait Implementations
Returns the protected value as a SecretBytes instance.