diff --git a/src/preferences/preferences.hpp b/src/preferences/preferences.hpp index 7f186a03619ee..f9cb9bafe85a2 100644 --- a/src/preferences/preferences.hpp +++ b/src/preferences/preferences.hpp @@ -772,13 +772,13 @@ class prefs std::string get_system_username(); /** - * Encrypts the value of @a plaintext using @a key and a hard coded IV using AES. - * Max size of @a plaintext must not be larger than 1008 bytes. + * Encrypts the value of @a text using @a key and a hard coded IV using AES. + * Max size of @a text must not be larger than 1008 bytes. * * NOTE: This is not meant to provide strong protections against a determined attacker. * This is meant to hide the passwords from malware scanning files for passwords, family/friends poking around, etc. * - * @param plaintext The original unencrypted data. + * @param text The original unencrypted data. * @param key The value to use to encrypt the data. See build_key() for key generation. * @return secure_buffer The encrypted data. */