/**
  * @param $text
  * @return string
  */
 public function encrypt($text)
 {
     $encrypted = $this->mcrypt($this->stringFormatter->prepareString($text));
     $result = rtrim(base64_encode($encrypted), '=') . $this->key->getRandomHexadecimalPosition() . $this->IV->getRandomHexadecimalPosition();
     $this->resetCurrentProcess();
     return $result;
 }