HashHelper.HashPassword Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

HashPassword(String, Nullable)

Generates a PBKDF2 hash for the given plain text password and returns a base64 encoded result.

public static string HashPassword(string password, int? iterations = default(int? ))

Parameters

password
System.String
iterations
System.Nullable{System.Int32}

Returns

System.String

Hash value formatted as a base64 encoded string.