Sha256Hash() public static method

Compute Sha256 for a string.
public static Sha256Hash ( String input ) : String
input String /// Input. ///
return String
Beispiel #1
0
 public bool CheckPassword(String pwordOrig, String pwordHashed)
 {
     // TODO: salt it!
     return(Common.Sha256Hash(pwordOrig) == pwordHashed);
 }