class Crypto::Secret::Key

Overview

TODO mlock

TODO mprotect

Defined in:

crypto-secret/key.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