Secrets
Inherits Reference < Object
Constants
AES_BITS = 256
IV_SIZE = 32
KEY_SIZE = 32
Constructors
new(name : String, encryption_key : String, data : String)
Sourcenew(name : String)
SourceClass methods
[](name : SymString)
Source[]?(name : SymString)
Sourcedefault_keys_dir
Sourcedefault_keys_dir=(default_keys_dir : Path)
Sourcedefault_stores_dir
Sourcedefault_stores_dir=(default_stores_dir : Path)
Sourceregister(name : SymString, store_path : PathString | Nil = nil, key_path : PathString | Nil = nil, create : Bool = false)
Sourcestores
SourceInstance methods
[](key : SymString)
Source[]=(key : SymString, value : SymString)
Source[]?(key : SymString)
Sourcedata
Sourceencode
Sourceencryption_key=(encryption_key : String)
Sourcekey_path
Sourcekey_path=(key_path : Path | Nil)
Sourcename
Sourcesave
Sourcestore_path
Sourcestore_path=(store_path : Path | Nil)
Source