//
pkg.gl
Category
github.com/tailscale/golang-x-crypto
tea
package
0.91.0
Repository:
https://github.com/tailscale/golang-x-crypto.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
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.