module Crypto::Secret::ClassMethods

Defined in:

crypto-secret/class_methods.cr

Instance Method Summary

Instance Method Detail

def copy_from(data : Bytes) #

Copies data to the new Secret

Returns a readonly Secret


[View source]
def move_from(data : Bytes) #

Copies data to the new Secret and erases data

Returns a readonly Secret


[View source]
def random(size) #

Returns a readonly random Secret


[View source]