rfc2433

package
v0.0.0-...-2aa8244 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encryptv1

func Encryptv1(challenge []byte, pass string) ([]byte, error)

Encryptv1 MSCHAPv1 challenge+pass and return challengeresponse

func Mppev1

func Mppev1(pass string) ([]byte, error)

Types

type ResponseAttr

type ResponseAttr struct {
	Ident      []byte
	LMResponse []byte //24bytes
	NTResponse []byte //24bytes
}

func DecodeResponse

func DecodeResponse(b []byte) ResponseAttr

Jump to

Keyboard shortcuts

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