'Declaration<JetBrains.Annotations.NotNullAttribute()> Protected Overridable Function HashPassword( _ ByVal password As String, _ ByVal algorithmId As String, _ ByVal iterations As Nullable(Of Integer), _ ByVal salt() As Byte _ ) As Byte()
'UsageDim instance As MemoryNameAndPasswordUserManager Dim password As String Dim algorithmId As String Dim iterations As Nullable(Of Integer) Dim salt() As Byte Dim value() As Byte value = instance.HashPassword(password, algorithmId, iterations, salt)
[JetBrains.Annotations.NotNull()] protected virtual byte[] HashPassword( string password, string algorithmId, Nullable<int> iterations, byte[] salt )
[JetBrains.Annotations.NotNull()] protected: virtual array<byte>^ HashPassword( String^ password, String^ algorithmId, Nullable<int> iterations, array<byte>^ salt )
Parameters
- password
- The password to hash.
The value of this parameter cannot be
null(Nothingin Visual Basic). - algorithmId
- The algorithm ID to use for hashing.
The value of this parameter cannot be
null(Nothingin Visual Basic). - iterations
- The number of iterations for hashing.
- salt
- The salt to use in hashing.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
This method never returns null (Nothing in Visual Basic).