3 * To change this template, choose Tools | Templates
4 * and open the template in the editor.
5 * @version Build @@version@@
8 namespace CryptLib\Key\Symmetric
;
11 * Description of abstractsymetric
15 abstract class AbstractSymmetric
implements \CryptLib\Key\Symmetric
{
19 public function __toString() {
20 return $this->getKey();
23 public function getKey() {
27 public function getType() {
28 return self
::SYMMETRIC
;
31 public function saveKey($filename) {
32 file_put_contents($filename, $this->getKey());