Documentation ¶
Index ¶
- func ChallengeHash(peerChallenge, authenticatorChallenge []byte, userName string) []byte
- func ChallengeResponse(challenge, passwordHash []byte) []byte
- func DesEncrypt(text, key []byte) []byte
- func GenerateAuthenticatorResponse(password string, ntResponse, peerChallenge, authenticatorChallenge []byte, ...) []byte
- func GetAsymmetricStartKey(masterKey []byte, sessionKeyLength int, isSend, isServer bool) []byte
- func GetMasterKey(passwordHashHash, ntResponse []byte) []byte
- func GetNewKeyFromSHA(startKey, sessionKey []byte, sessionKeyLength int) []byte
- func HashNtPasswordHash(passwordHash []byte) []byte
- func NewRC4key(key []byte) (*rc4.Cipher, error)
- func NtPasswordHash(password string) []byte
- func ReduceSessionKey(sendSessionKey []byte, keyLength int) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChallengeHash ¶
func ChallengeResponse ¶
func DesEncrypt ¶
func GetAsymmetricStartKey ¶
func GetMasterKey ¶
func GetNewKeyFromSHA ¶
func HashNtPasswordHash ¶
func NtPasswordHash ¶
func ReduceSessionKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.