class Nanvault::Encrypted

Overview

Encrypted data class

Defined in:

nanvault.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctext_str : String) #

[View source]

Instance Method Detail

def bbody : Slice(UInt8) #

[View source]
def bbody=(bbody : Slice(UInt8)) #

[View source]
def body : String #

these initializations also prevent this: https://github.com/crystal-lang/crystal/issues/5931


[View source]
def body=(body : String) #

these initializations also prevent this: https://github.com/crystal-lang/crystal/issues/5931


[View source]
def ctext : Slice(UInt8) #

[View source]
def ctext=(ctext : Slice(UInt8)) #

[View source]
def decrypt #

decrypt method


[View source]
def header : String #

these initializations also prevent this: https://github.com/crystal-lang/crystal/issues/5931


[View source]
def header=(header : String) #

these initializations also prevent this: https://github.com/crystal-lang/crystal/issues/5931


[View source]
def hmac : Slice(UInt8) #

[View source]
def hmac=(hmac : Slice(UInt8)) #

[View source]
def parse #

parse method


[View source]
def password=(password : String) #

[View source]
def plaintext_str #

plaintext_string method


[View source]
def ptext : Slice(UInt8) #

[View source]
def ptext=(ptext : Slice(UInt8)) #

[View source]
def salt : Slice(UInt8) #

[View source]
def salt=(salt : Slice(UInt8)) #

[View source]
def vault_info : Hash(String, String?) #

[View source]
def vault_info=(vault_info : Hash(String, Nil | String)) #

[View source]