package etype
Import Path
github.com/jcmturner/gokrb5/v8/crypto/etype (on go.dev )
Dependency Relation
imports one package , and imported by 8 packages
Package-Level Type Names (only one)
/* sort by: alphabet | popularity */
type EType (interface)
EType is the interface defining the Encryption Type.
Methods (total 21 )
( EType) DecryptData (key, data []byte ) ([]byte , error )
( EType) DecryptMessage (key, ciphertext []byte , usage uint32 ) ([]byte , error )
( EType) DeriveKey (protocolKey, usage []byte ) ([]byte , error )
( EType) DeriveRandom (protocolKey, usage []byte ) ([]byte , error )
( EType) EncryptData (key, data []byte ) ([]byte , []byte , error )
( EType) EncryptMessage (key, message []byte , usage uint32 ) ([]byte , []byte , error )
( EType) GetChecksumHash (protocolKey, data []byte , usage uint32 ) ([]byte , error )
( EType) GetConfounderByteSize () int
( EType) GetCypherBlockBitLength () int
( EType) GetDefaultStringToKeyParams () string
( EType) GetETypeID () int32
( EType) GetHMACBitLength () int
( EType) GetHashFunc () func() hash .Hash
( EType) GetHashID () int32
( EType) GetKeyByteSize () int
( EType) GetKeySeedBitLength () int
( EType) GetMessageBlockByteSize () int
( EType) RandomToKey (b []byte ) []byte
( EType) StringToKey (string, salt, s2kparams string ) ([]byte , error )
( EType) VerifyChecksum (protocolKey, data, chksum []byte , usage uint32 ) bool
( EType) VerifyIntegrity (protocolKey, ct, pt []byte , usage uint32 ) bool
Implemented By (at least 6 )
github.com/jcmturner/gokrb5/v8/crypto.Aes128CtsHmacSha256128
github.com/jcmturner/gokrb5/v8/crypto.Aes128CtsHmacSha96
github.com/jcmturner/gokrb5/v8/crypto.Aes256CtsHmacSha384192
github.com/jcmturner/gokrb5/v8/crypto.Aes256CtsHmacSha96
github.com/jcmturner/gokrb5/v8/crypto.Des3CbcSha1Kd
github.com/jcmturner/gokrb5/v8/crypto.RC4HMAC
As Outputs Of (at least 3 )
func github.com/jcmturner/gokrb5/v8/crypto.GetChksumEtype (id int32 ) (EType , error )
func github.com/jcmturner/gokrb5/v8/crypto.GetEtype (id int32 ) (EType , error )
func github.com/jcmturner/gokrb5/v8/crypto.GetKeyFromPassword (passwd string , cname types .PrincipalName , realm string , etypeID int32 , pas types .PADataSequence ) (types .EncryptionKey , EType , error )
As Inputs Of (at least 39 )
func github.com/jcmturner/gokrb5/v8/crypto/common.GetChecksumHash (b, key []byte , usage uint32 , etype EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/common.GetHash (pt, key []byte , usage []byte , etype EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/common.GetIntegrityHash (b, key []byte , usage uint32 , etype EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/common.VerifyChecksum (key, chksum, msg []byte , usage uint32 , etype EType ) bool
func github.com/jcmturner/gokrb5/v8/crypto/rfc3961.DeriveKey (protocolKey, usage []byte , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3961.DeriveRandom (key, usage []byte , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3961.DES3DecryptData (key, data []byte , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3961.DES3DecryptMessage (key, ciphertext []byte , usage uint32 , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3961.DES3EncryptData (key, data []byte , e EType ) ([]byte , []byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3961.DES3EncryptMessage (key, message []byte , usage uint32 , e EType ) ([]byte , []byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3961.DES3StringToKey (secret, salt string , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3961.PseudoRandom (key, b []byte , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3961.VerifyIntegrity (key, ct, pt []byte , usage uint32 , etype EType ) bool
func github.com/jcmturner/gokrb5/v8/crypto/rfc3962.DecryptData (key, data []byte , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3962.DecryptMessage (key, ciphertext []byte , usage uint32 , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3962.EncryptData (key, data []byte , e EType ) ([]byte , []byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3962.EncryptMessage (key, message []byte , usage uint32 , e EType ) ([]byte , []byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3962.StringToKey (secret, salt, s2kparams string , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3962.StringToKeyIter (secret, salt string , iterations int64 , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc3962.StringToPBKDF2 (secret, salt string , iterations int64 , e EType ) []byte
func github.com/jcmturner/gokrb5/v8/crypto/rfc4757.DecryptData (key, data []byte , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc4757.DecryptMessage (key, data []byte , usage uint32 , export bool , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc4757.EncryptData (key, data []byte , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc4757.EncryptMessage (key, data []byte , usage uint32 , export bool , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc4757.VerifyIntegrity (key, pt, data []byte , e EType ) bool
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.DecryptData (key, data []byte , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.DecryptMessage (key, ciphertext []byte , usage uint32 , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.DeriveKey (protocolKey, label []byte , e EType ) []byte
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.DeriveRandom (protocolKey, usage []byte , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.EncryptData (key, data []byte , e EType ) ([]byte , []byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.EncryptMessage (key, message []byte , usage uint32 , e EType ) ([]byte , []byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.GetIntegityHash (iv, c, key []byte , usage uint32 , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.KDF_HMAC_SHA2 (protocolKey, label, context []byte , kl int , e EType ) []byte
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.StringToKey (secret, salt, s2kparams string , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.StringToKeyIter (secret, salt string , iterations int , e EType ) ([]byte , error )
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.StringToPBKDF2 (secret, salt string , iterations int , e EType ) []byte
func github.com/jcmturner/gokrb5/v8/crypto/rfc8009.VerifyIntegrity (key, ct []byte , usage uint32 , etype EType ) bool
func github.com/jcmturner/gokrb5/v8/client.(*Client ).Key (etype EType , kvno int , krberr *messages .KRBError ) (types .EncryptionKey , int , error )
func github.com/jcmturner/gokrb5/v8/types.GenerateEncryptionKey (etype EType ) (types .EncryptionKey , error )
The pages are generated with Golds v0.6.7 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds .