From 6854cb3f4d8219cf1829e32122eb2502a916eae9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Feb 2020 09:05:48 +0100 Subject: initial checkin --- .../adodb/adodb-php/session/adodb-encrypt-md5.php | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 vendor/adodb/adodb-php/session/adodb-encrypt-md5.php (limited to 'vendor/adodb/adodb-php/session/adodb-encrypt-md5.php') diff --git a/vendor/adodb/adodb-php/session/adodb-encrypt-md5.php b/vendor/adodb/adodb-php/session/adodb-encrypt-md5.php new file mode 100644 index 0000000..fd59743 --- /dev/null +++ b/vendor/adodb/adodb-php/session/adodb-encrypt-md5.php @@ -0,0 +1,39 @@ +encrypt($data, $key); + } + + /** + */ + function read($data, $key) { + $md5crypt = new MD5Crypt(); + return $md5crypt->decrypt($data, $key); + } + +} + +return 1; -- cgit v1.2.3-70-g09d2