Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Ss::SnapFile
Inherits
Reference
<
Object
Constants
ENCRYPTION_KEY = "ss-snapshot-key-12345"
Constructors
new
(data :
Hash
(
String
,
JSON::Any
), passphrase :
Nil
|
String
= nil)
Source
Class methods
decrypt
(encrypted_content :
String
, passphrase :
String
|
Nil
= nil) :
Hash
(
String
,
JSON::Any
)
Source
Instance methods
data
Source
data=
(data :
Hash
(
String
,
JSON::Any
))
Source
encrypt
Source
passphrase
Source
passphrase=
(passphrase :
String
|
Nil
)
Source