module

Crypto::Secret::ClassMethods

Instance methods

copy_from(data : Bytes)

Copies data to the new Secret

Returns a readonly Secret

Source
move_from(data : Bytes)

Copies data to the new Secret and erases data

Returns a readonly Secret

Source
random(size)

Returns a readonly random Secret

Source