rfc3079

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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KeyLength40Bit - 40-bit
	KeyLength40Bit = KeyLength(8)
	// KeyLength128Bit - 128-bit
	KeyLength128Bit = KeyLength(16)
)

Variables

This section is empty.

Functions

func GetAsymmetricStartKey

func GetAsymmetricStartKey(masterKey []byte, sessionKeyLength KeyLength, isSend bool) ([]byte, error)

GetAsymmetricStartKey - rfc3079, 3.4

func GetMasterKey

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

GetMasterKey - rfc3079, 3.4

func MakeKey

func MakeKey(ntResponse, password []byte, isSend bool) ([]byte, error)

MakeKey - rfc2548, 2.4.2

Types

type KeyLength

type KeyLength uint

KeyLength is the length of keys involved with the functions below

Jump to

Keyboard shortcuts

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