From 29b6efcedceac21c520a2aa50949c29a0a6599de Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 14 Oct 2021 21:11:12 +0200 Subject: [PATCH] wip #4793 @0:10 --- composer.json | 5 +++-- src/Crypt.php | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 src/Crypt.php diff --git a/composer.json b/composer.json index 1a7fa87..b8cebe0 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ } ], "require": { - "php": ">=7.0.0", + "php": ">=7.2", "ext-libxml": "*", "ext-mbstring": "*", "ext-dom": "*", @@ -30,7 +30,8 @@ "ext-json": "*", "ext-iconv": "*", "laravel/framework": "~5.8|^6.0|^7.0|^8.0", - "cubist/net": "dev-master" + "cubist/net": "dev-master", + "ext-sodium": "*" } } diff --git a/src/Crypt.php b/src/Crypt.php new file mode 100644 index 0000000..cb04b41 --- /dev/null +++ b/src/Crypt.php @@ -0,0 +1,60 @@ +