C# 클래스 knownpasswords.ApiHelper

Some helper methods.
파일 보기 프로젝트 열기: bitbeans/knownpasswords-net

공개 메소드들

메소드 설명
ConvertPasswordToBlake2b ( byte password ) : string

Convert a cleartext password to a Blake2b hex string.

ConvertPasswordToBlake2b ( string password ) : string

Convert a cleartext password to a Blake2b hex string.

ConvertPasswordToSha512 ( byte password ) : string

Convert a cleartext password to a Sha512 hex string.

ConvertPasswordToSha512 ( string password ) : string

Convert a cleartext password to a Sha512 hex string.

GenerateApiKeyPair ( ) : AuthenticationPair

Helper method to generate a new API key pair.

메소드 상세

ConvertPasswordToBlake2b() 공개 정적인 메소드

Convert a cleartext password to a Blake2b hex string.
public static ConvertPasswordToBlake2b ( byte password ) : string
password byte
리턴 string

ConvertPasswordToBlake2b() 공개 정적인 메소드

Convert a cleartext password to a Blake2b hex string.
public static ConvertPasswordToBlake2b ( string password ) : string
password string
리턴 string

ConvertPasswordToSha512() 공개 정적인 메소드

Convert a cleartext password to a Sha512 hex string.
public static ConvertPasswordToSha512 ( byte password ) : string
password byte
리턴 string

ConvertPasswordToSha512() 공개 정적인 메소드

Convert a cleartext password to a Sha512 hex string.
public static ConvertPasswordToSha512 ( string password ) : string
password string
리턴 string

GenerateApiKeyPair() 공개 정적인 메소드

Helper method to generate a new API key pair.
public static GenerateApiKeyPair ( ) : AuthenticationPair
리턴 knownpasswords.Models.AuthenticationPair