cloak_wrapper

Types

pub opaque type ConfigAesGcm

Functions

pub fn config_aes_gcm(
  key key: String,
  tag tag: String,
  iv_length iv_length: Int,
) -> ConfigAesGcm
pub fn decrypt_aes_gcm(
  cloak: ConfigAesGcm,
  value: String,
) -> Result(String, Nil)
pub fn encrypt_aes_gcm(
  cloak: ConfigAesGcm,
  plaintext: String,
) -> Result(String, Nil)
Search Document