Documentation ¶
Index ¶
- func ChallengeHash(peerChallenge, authenticatorChallenge, userName []byte) []byte
- func ChallengeResponse(challenge, passwordHash []byte) []byte
- func DesEncrypt(clear, key []byte) []byte
- func GenerateAuthenticatorResponse(password string, ...) string
- func GenerateNTResponse(authenticatorChallenge, peerChallenge, userName []byte, password string) []byte
- func GetAsymmetricStartKey(masterKey []byte, sessionKeyLength int, isSend, isServer bool) []byte
- func GetMasterKey(passwordHashHash, ntResponse []byte) []byte
- func GetMasterKeys(password string, ntResponse []byte) ([]byte, []byte)
- func HashNtPasswordHash(passwordHash []byte) []byte
- func MPPEv2(secret []byte, password string, requestAuthenticator, ntResponse []byte) ([]byte, []byte)
- func NtPasswordHash(password string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChallengeHash ¶
func ChallengeResponse ¶
func DesEncrypt ¶
func GenerateAuthenticatorResponse ¶
func GenerateNTResponse ¶
func GetAsymmetricStartKey ¶
func GetMasterKey ¶
func HashNtPasswordHash ¶
func NtPasswordHash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.