Produces totally unique salt value.
Namespace: MonoSoftware.Core.CryptographyAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public static string GetSalt( int length ) |
Visual Basic |
---|
Public Shared Function GetSalt ( length As Integer ) As String |
Visual C++ |
---|
public: static String^ GetSalt( int length ) |
F# |
---|
static member GetSalt : length : int -> string |
Parameters
- length
- Type: System..::..Int32
Salt lenght.
Return Value
Type: StringRandom salt.