# Xtea

class Xtea implements ICryptography

## Properties

protected | $key |  |
| $cbc |  |

## Methods

__construct($key)

No description

encrypt(string $text)

Encrypt

decrypt(string $text)

Decrypt

benchmark($length = 1000)

No description

check_implementation()

No description

## Details

###
at line 44
`__construct($key)`

#### Parameters

| $key |

###
at line 50
`encrypt(string $text)`

Encrypt

#### Parameters

string | $text |

###
at line 91
`decrypt(string $text)`

Decrypt

#### Parameters

string | $text |

###
at line 140
`benchmark($length = 1000)`

#### Parameters

| $length |

###
at line 159
`check_implementation()`