Share via


IPasswordHasher.HashPassword Method

Hash a password

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

Syntax

'Declaration
Function HashPassword ( _
    password As String _
) As String
'Usage
Dim instance As IPasswordHasher 
Dim password As String 
Dim returnValue As String 

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

Parameters

Return Value

Type: System.String

See Also

Reference

IPasswordHasher Interface

Microsoft.AspNet.Identity Namespace