class EncJson::SecureBox

Defined in:

secure_box.cr

Constant Summary

API = "1.0"
BEGIN = "["
END = "]"
TYPE = "EncJson"

Constructors

Instance Method Summary

Constructor Detail

def self.new(pub_key : String | Nil, key_dir : String | Nil, debug : Bool = false) #

[View source]

Instance Method Detail

def decrypt(key, val) #

[View source]
def decrypted?(val) #

[View source]
def encrypt(key, val) #

[View source]
def encrypted?(val) #

[View source]
def get_box_field(val) #

[View source]
def priv_key_not_found? : Bool #

[View source]