class
Vault::ObfuscatedPassword
- Vault::ObfuscatedPassword
- Reference
- Object
Overview
Stores a password XOR'd with a random pad so plaintext never sits in memory. A memory dump would show random bytes.
Defined in:
vault/vault.crConstructors
Instance Method Summary
-
#reveal(& : String -> ) : Nil
Temporarily reveal the password, yield it, then wipe the copy.
-
#wipe : Nil
Wipe all internal buffers.