Cryppo.generate_encryption_key
You're seeing just the function
generate_encryption_key
, go back to Cryppo module for more information.
Specs
generate_encryption_key(encryption_strategy()) :: Cryppo.EncryptionKey.t() | {:unsupported_encryption_strategy, binary()}
Generate an encryption key for an encryption strategy
The generated encrypted key is marked as belonging to the encryption strategy.
Example
iex> _encryption_key = Cryppo.generate_encryption_key("Aes256Gcm")