//
pkg.gl
Category
golang.org/x/crypto
tea
package
0.36.0
Repository:
https://go.googlesource.com/crypto
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
254
Files
78 SLOC
#
Functions
NewCipher
NewCipher returns an instance of the TEA cipher with the standard number of rounds.
NewCipherWithRounds
NewCipherWithRounds returns an instance of the TEA cipher with a given number of rounds, which must be even.
#
Constants
BlockSize
BlockSize is the size of a TEA block, in bytes.
KeySize
KeySize is the size of a TEA key, in bytes.