Files
pvrEzCommentBundle/Comment/PvrEzCommentEncryptionInterface.php

23 lines
453 B
PHP

<?php
namespace pvr\EzCommentBundle\Comment;
Interface PvrEzCommentEncryptionInterface
{
public function __construct( $secret );
/**
* @param $value string to encode
* @return bool|string return crypt code or false
*/
public function encode( $value );
/**
* @param $value string to decode
* @return bool|string return decrypted code or false
*/
public function decode( $value );
}