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, readonly : self
readonly(& : Bytes -> U) forall U
readonly
, readwrite : self
readwrite(& : Bytes -> U) forall U
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(data : Crypto::Secret) : Nil
copy_from
, dup dup, finalize finalize, hexstring : String hexstring, inspect(io : IO) : Nil inspect, move_from(data : Crypto::Secret) : Nil
move_from(data : Bytes) : Nil
move_from
, noaccess : self noaccess, random : self random, readonly : self
readonly(& : Bytes -> U) forall U
readonly
, readwrite : self
readwrite(& : Bytes -> U) forall U
readwrite
, reset reset, wipe(&)
wipe
wipe