C# 클래스 ServiceStack.HmacUtils

파일 보기 프로젝트 열기: ServiceStack/ServiceStack 1 사용 예제들

공개 메소드들

메소드 설명
Authenticate ( byte encryptedBytes, byte authKey, byte iv ) : byte[]
CreateHashAlgorithm ( byte authKey ) : HMAC
DecryptAuthenticated ( byte authEncryptedBytes, byte cryptKey ) : byte[]
Verify ( byte authEncryptedBytes, byte authKey ) : bool

메소드 상세

Authenticate() 공개 정적인 메소드

public static Authenticate ( byte encryptedBytes, byte authKey, byte iv ) : byte[]
encryptedBytes byte
authKey byte
iv byte
리턴 byte[]

CreateHashAlgorithm() 공개 정적인 메소드

public static CreateHashAlgorithm ( byte authKey ) : HMAC
authKey byte
리턴 System.Security.Cryptography.HMAC

DecryptAuthenticated() 공개 정적인 메소드

public static DecryptAuthenticated ( byte authEncryptedBytes, byte cryptKey ) : byte[]
authEncryptedBytes byte
cryptKey byte
리턴 byte[]

Verify() 공개 정적인 메소드

public static Verify ( byte authEncryptedBytes, byte authKey ) : bool
authEncryptedBytes byte
authKey byte
리턴 bool