Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comment #238

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions Runtime/Plugins/Web3AuthSDK/Types/SecurePlayerPrefs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class SecurePlayerPrefs


/**
* Initializes the encryptor. If its the frist time, it will generate
* Initializes the encryptor. If its the first time, it will generate
* a random 3 digit number and puts it between private key and its appendix.
* If this was initialized on this device before, it will load it and create
* the private key.
Expand Down Expand Up @@ -138,7 +138,7 @@ public static void setLogErrorsEnabled(bool state)


/**
* Saves a string in player preferences but securly encrypted.
* Saves a string in player preferences but securely encrypted.
* @param key The preference id.
* @param val The value of the preference, it will be encrypted.
*/
Expand Down Expand Up @@ -194,7 +194,7 @@ public static void SetBool(string key, bool val)


/**
* Get a securly encrypted text from the player preferences.
* Get a securely encrypted text from the player preferences.
*
* @param key The id of the player preferences.
* @param defaultValue The default to return.
Expand Down Expand Up @@ -222,7 +222,7 @@ public static string GetString(String key, String defaultValue)


/**
* Get a securly encrypted text from the player preferences.
* Get a securely encrypted text from the player preferences.
*
* @param key The id of the player preferences.
* @return The decrypted value or default in case of not found.
Expand All @@ -235,7 +235,7 @@ public static string GetString(string key)


/**
* Get a securly encrypted int from the player preferences.
* Get a securely encrypted int from the player preferences.
*
* @param key The id of the player preferences.
* @param defaultValue The default to return.
Expand Down Expand Up @@ -265,7 +265,7 @@ public static int GetInt(String key, int defaultValue)


/**
* Get a securly encrypted int from the player preferences.
* Get a securely encrypted int from the player preferences.
*
* @param key The id of the player preferences.
* @return The decrypted value or default in case of not found.
Expand All @@ -278,7 +278,7 @@ public static int GetInt(string key)


/**
* Get a securly encrypted float from the player preferences.
* Get a securely encrypted float from the player preferences.
*
* @param key The id of the player preferences.
* @param defaultValue The default to return.
Expand Down Expand Up @@ -308,7 +308,7 @@ public static float GetFloat(String key, float defaultValue)


/**
* Get a securly encrypted float from the player preferences.
* Get a securely encrypted float from the player preferences.
*
* @param key The id of the player preferences.
* @return The decrypted value or default in case of not found.
Expand All @@ -321,7 +321,7 @@ public static float GetFloat(string key)


/**
* Get a securly encrypted bool from the player preferences.
* Get a securely encrypted bool from the player preferences.
*
* @param key The id of the player preferences.
* @param defaultValue the default value to return.
Expand All @@ -339,7 +339,7 @@ public static bool GetBool(string key, bool defaultValue)


/**
* Get a securly encrypted bool from the player preferences.
* Get a securely encrypted bool from the player preferences.
*
* @param key The id of the player preferences.
* @return The decrypted value or default in case of not found.
Expand Down