Skip to content

SetDefaultSalt Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.dll

Overloads ​

NameDescription
bool SetDefaultSalt(int[] input, int increment = null)Sets the default salt sequence from an existing encoded salt array.
bool SetDefaultSalt(string input, int increment = null)Derives and sets the default salt sequence from the specified input string.

bool SetDefaultSalt(int[] input, int increment = null) ​

csharp
bool SetDefaultSalt(int[] input, int increment = null)

Sets the default salt sequence from an existing encoded salt array.

Parameters ​

NameDescription
incrementThe incremental padding used when decoding the salt. Defaults to 43 for legacy compatibility.
inputThe encoded salt array.

Returns ​

Always returns if no exception is thrown.

bool SetDefaultSalt(string input, int increment = null) ​

csharp
bool SetDefaultSalt(string input, int increment = null)

Derives and sets the default salt sequence from the specified input string.

Parameters ​

NameDescription
incrementThe incremental padding used when deriving the salt. Defaults to 43 for legacy compatibility.
inputThe input string from which to derive the salt.

Returns ​

Always returns if no exception is thrown.