package rfc4757

Import Path
	github.com/jcmturner/gokrb5/v8/crypto/rfc4757 (on go.dev)

Dependency Relation
	imports 12 packages, and imported by one package

Involved Source Files checksum.go Package rfc4757 provides encryption and checksum methods as specified in RFC 4757 keyDerivation.go msgtype.go
Package-Level Functions (total 9)
Checksum returns a hash of the data in accordance with RFC 4757
DecryptData decrypts the data provided using the methods specific to the etype provided as defined in RFC 4757.
DecryptMessage decrypts the message provided using the methods specific to the etype provided as defined in RFC 4757. The integrity of the message is also verified.
EncryptData encrypts the data provided using methods specific to the etype provided as defined in RFC 4757.
EncryptMessage encrypts the message provided using the methods specific to the etype provided as defined in RFC 4757. The encrypted data is concatenated with its RC4 header containing integrity checksum and confounder to create an encrypted message.
HMAC returns a keyed MD5 checksum of the data
StringToKey returns a key derived from the string provided according to the definition in RFC 4757.
UsageToMSMsgType converts Kerberos key usage numbers to Microsoft message type encoded as a little-endian four byte slice.
VerifyIntegrity checks the integrity checksum of the data matches that calculated from the decrypted data.