rfc2759

package
v0.0.0-...-384b111 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MPL-2.0 Imports: 7 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

ChallengeHash - rfc2759, 8.2

func ChallengeResponse

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

ChallengeResponse - rfc2759, 8.5

func DESCrypt

func DESCrypt(key, clear []byte) []byte

DESCrypt - rfc2759, 8.6

func GenerateAuthenticatorResponse

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

GenerateAuthenticatorResponse - rfc2759, 8.7

func GenerateNTResponse

func GenerateNTResponse(authenticatorChallenge, peerChallenge, username, password []byte) ([]byte, error)

GenerateNTResponse - rfc2759, 8.1

func NTPasswordHash

func NTPasswordHash(password []byte) []byte

NTPasswordHash with MD4 - rfc2759, 8.3

func ToUTF16

func ToUTF16(in []byte) ([]byte, error)

ToUTF16 takes an ASCII string and turns it into a UCS-2 / UTF-16 representation

Types

This section is empty.

Jump to

Keyboard shortcuts

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