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-sha1.php | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 vendor/adodb/adodb-php/session/adodb-encrypt-sha1.php (limited to 'vendor/adodb/adodb-php/session/adodb-encrypt-sha1.php') diff --git a/vendor/adodb/adodb-php/session/adodb-encrypt-sha1.php b/vendor/adodb/adodb-php/session/adodb-encrypt-sha1.php new file mode 100644 index 0000000..7065515 --- /dev/null +++ b/vendor/adodb/adodb-php/session/adodb-encrypt-sha1.php @@ -0,0 +1,31 @@ +encrypt($data, $key); + + } + + + function read($data, $key) + { + $sha1crypt = new SHA1Crypt(); + return $sha1crypt->decrypt($data, $key); + + } +} + + + +return 1; -- cgit v1.2.3-70-g09d2