Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crypto::SymmetricKey
Inherits
Struct
<
Value
<
Object
Constructors
new
(s :
String
)
Source
new
Source
new
(*, our_secret :
SecretKey
, their_public :
PublicKey
)
Source
Class methods
from_bytes
(raw :
Bytes
)
Source
size
Source
Instance methods
compare
(other) :
Bool
Source
reroll
Source
to_slice
Source
to_unsafe
Source