pub fn encrypt_data(
argon2: Argon2,
data: SecureBytes,
credentials: Credentials,
) -> Result<Vec<u8>, Error>Expand description
Encrypts the given data
ยงArguments
argon2- The Argon2 instance to use for the password hashingdata- The data to encryptcredentials- The credentials to use for encryption