TEA.encrypt

Encrypts the given byte array data using TEA algorithm.

class TEA
static pure
void
encrypt
(
ref ubyte[] data
,
string key
)

Parameters

data ubyte[]

Reference to the input byte array to be encrypted.

key string

The encryption key. Must be 128 bits (16 characters).

Meta