Overview

Namespaces

  • Deimos
    • Secure
      • Extension

Classes

  • Deimos\Secure\Secure

Traits

  • Deimos\Secure\Extension\Algorithm
  • Deimos\Secure\Extension\IV
  • Deimos\Secure\Extension\Secret
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: 
 3: namespace Deimos\Secure\Extension;
 4: 
 5: trait IV
 6: {
 7: 
 8:     /**
 9:      * Encrypt/Decrypt IV, only works if PHP version >= 5.3.3
10:      * Must be 16 bytes long
11:      *
12:      * @var string
13:      */
14:     private $iv = '_gPuZWJ/Tm^1!y4d';
15: 
16:     /**
17:      * @param string $value
18:      *
19:      * @return $this
20:      */
21:     protected function setIV($value)
22:     {
23:         $this->iv = $value;
24: 
25:         return $this;
26:     }
27: 
28: }
API documentation generated by ApiGen