C# 클래스 JustPressPlay.Utilities.Sha256Helper

파일 보기 프로젝트 열기: RIT-MAGIC/JustPressPlay

공개 메소드들

메소드 설명
HashString ( string value, string &hashedValue, string &salt ) : void

Salt and hash a string using SHA256

HashStringWithSalt ( string value, string salt ) : string

Hash a string with a set salt using SHA256

비공개 메소드들

메소드 설명
GenerateSalt ( ) : byte[]

메소드 상세

HashString() 공개 정적인 메소드

Salt and hash a string using SHA256
public static HashString ( string value, string &hashedValue, string &salt ) : void
value string The string to hash
hashedValue string The salted hash of the input string
salt string The salt used to generate the hash
리턴 void

HashStringWithSalt() 공개 정적인 메소드

Hash a string with a set salt using SHA256
public static HashStringWithSalt ( string value, string salt ) : string
value string The string to hash
salt string The salt to hash with
리턴 string