mirror of
https://github.com/code-rhapsodie/pvrEzCommentBundle.git
synced 2026-03-24 14:52:23 +01:00
23 lines
453 B
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 );
|
|
|
|
}
|