mschapv2

package
v0.0.0-...-93e329f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChallengeHash

func ChallengeHash(peerChallenge, authenticatorChallenge, userName []byte) []byte

https://tools.ietf.org/html/rfc2759#section-8.2

func ChallengeResponse

func ChallengeResponse(challenge, passwordHash []byte) []byte

https://tools.ietf.org/html/rfc2759#section-8.5

func GenerateAuthenticatorResponse

func GenerateAuthenticatorResponse(password string, ntResponse, peerChallenge, authenticatorChallenge, userName []byte) string

https://tools.ietf.org/html/rfc2759#section-8.7

func GenerateNTResponse

func GenerateNTResponse(authenticatorChallenge, peerChallenge, userName []byte, password string) []byte

https://tools.ietf.org/html/rfc2759#section-8.1

func GetAsymmetricStartKey

func GetAsymmetricStartKey(masterKey []byte, sessionKeyLength int, isSend, isServer bool) []byte

func GetMasterKey

func GetMasterKey(passwordHashHash, ntResponse []byte) []byte

func GetMasterKeys

func GetMasterKeys(password string, ntResponse []byte) ([]byte, []byte)

func HashNtPasswordHash

func HashNtPasswordHash(passwordHash []byte) []byte

https://tools.ietf.org/html/rfc2759#section-8.4

func MPPEv2

func MPPEv2(secret []byte, password string, requestAuthenticator, ntResponse []byte) ([]byte, []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL