From a99c34159d03f2b5b525d6d8cc38509c4ac2f0a1 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 31 Mar 2015 18:56:32 +0200 Subject: Enigma: Implemented messages signing and encrypting --- plugins/enigma/lib/enigma_driver.php | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'plugins/enigma/lib/enigma_driver.php') diff --git a/plugins/enigma/lib/enigma_driver.php b/plugins/enigma/lib/enigma_driver.php index c0a91ac27..49208b39d 100644 --- a/plugins/enigma/lib/enigma_driver.php +++ b/plugins/enigma/lib/enigma_driver.php @@ -1,20 +1,14 @@ | @@ -53,7 +47,7 @@ abstract class enigma_driver /** * Signing. */ - abstract function sign($text, $key, $passwd); + abstract function sign($text, $key, $passwd, $mode = null); /** * Signature verification. -- cgit v1.2.3