class Crypto::Secret::Large

Overview

Use this class as a default when holding possibly large amounts of data that may stress mlock limits

Suitable uses: holding decrypted data

no mlock

Implementation subject to change

Defined in:

crypto-secret/large.cr

Instance methods inherited from class Crypto::Secret::Bidet

bytesize : Int32 bytesize, to_slice(& : Bytes -> U) forall U to_slice

Constructor methods inherited from class Crypto::Secret::Bidet

new(size)
new(*, references : Bytes)
new

Instance methods inherited from module Crypto::Secret::Stateless

finalize finalize, noaccess : self
noaccess(&)
noaccess
, readonly : self
readonly(&)
readonly
, readwrite : self
readwrite(&)
readwrite
, reset reset

Instance methods inherited from module Crypto::Secret

==(other : Secret) : Bool
==(other : Bytes) : Bool
==
, bytesize : Int32 bytesize, copy_from(data : Bytes) : Nil copy_from, dup dup, finalize finalize, hexstring : String hexstring, inspect(io : IO) : Nil inspect, move_from(data : Bytes) : Nil move_from, noaccess : self noaccess, random : self random, readonly : self readonly, readwrite : self readwrite, reset reset, wipe
wipe(&)
wipe