Internal call graph ▹
Internal call graph ▾
In the call graph viewer below, each node is a function belonging to this package and its children are the functions it calls—perhaps dynamically.
The root nodes are the entry points of the package: functions that may be called from outside the package. There may be non-exported or anonymous functions among them if they are called dynamically from another package.
Click a node to visit that function's source code.
From there you can visit its callers by
clicking its declaring
Functions may be omitted if they were determined to be unreachable in the particular programs or tests that were analyzed.
const ( // BlockSize is the size of a TEA block, in bytes. BlockSize = 8 // KeySize is the size of a TEA key, in bytes. KeySize = 16 )
func NewCipher(key byte) (cipher.Block, error)
NewCipher returns an instance of the TEA cipher with the standard number of rounds. The key argument must be 16 bytes long.
func NewCipherWithRounds ¶
func NewCipherWithRounds(key byte, rounds int) (cipher.Block, error)
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.