go1.20.5
GoThrough

tea.BlockSize

// BlockSize is the size of a TEA block, in bytes. const BlockSize = 8

tea.KeySize

// KeySize is the size of a TEA key, in bytes. const KeySize = 16

tea.NewCipher

// NewCipher returns an instance of the TEA cipher with the standard number of // rounds. The key argument must be 16 bytes long. func NewCipher(key []byte) (cipher.Block, error)

tea.NewCipherWithRounds

// NewCipherWithRounds returns an instance of the TEA cipher with a given // number of rounds, which must be even. The key argument must be 16 bytes // long. func NewCipherWithRounds(key []byte, rounds int) (cipher.Block, error)