PasswordHasher.HashPassword Method

Hash a password

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Public Overridable Function HashPassword ( _
    password As String _
) As String
'Usage
Dim instance As PasswordHasher 
Dim password As String 
Dim returnValue As String 

returnValue = instance.HashPassword(password)
public virtual string HashPassword(
    string password
)
public:
virtual String^ HashPassword(
    String^ password
)
abstract HashPassword : 
        password:string -> string  
override HashPassword : 
        password:string -> string
public function HashPassword(
    password : String
) : String

Parameters

Return Value

Type: System.String

Implements

IPasswordHasher.HashPassword(String)

See Also

Reference

PasswordHasher Class

Microsoft.AspNet.Identity Namespace