Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Mqhole::Encryption::Context
Inherits
Reference
<
Object
Constructors
from_metadata
(passphrase :
String
, metadata :
Metadata
) : self
Source
generate
(passphrase :
String
) : self
Source
new
(passphrase :
String
, metadata :
Metadata
)
Source
Class methods
derive_key
(passphrase :
String
, metadata :
Metadata
) :
Bytes
Source
Instance methods
decrypt_chunk
(payload :
Bytes
, manifest, index :
Int32
) :
Bytes
Source
encrypt_chunk
(chunk :
Bytes
, manifest, index :
Int32
) :
Bytes
Source
metadata
Source