class

Vault::ObfuscatedPassword

Inherits Reference / Object

Stores a password XOR'd with a random pad so plaintext never sits in memory. A memory dump would show random bytes.

Constructors

new(plaintext : String)
Source

Instance methods

reveal

Temporarily reveal the password, yield it, then wipe the copy.

Source
wipe

Wipe all internal buffers.

Source