From 7f773288869b9cd39f95620a622119eda5bca1fb Mon Sep 17 00:00:00 2001 From: MikeRow <47996463+mikerow@users.noreply.github.com> Date: Sun, 11 Oct 2020 12:14:50 +0200 Subject: [PATCH] Added links --- README.md | 19 ++++++++++--------- src/NanoSalt.php | 2 ++ src/NanoSaltException.php | 5 ----- src/Salt.php | 2 ++ src/SaltException.php | 5 ----- 5 files changed, 14 insertions(+), 19 deletions(-) delete mode 100644 src/NanoSaltException.php delete mode 100644 src/SaltException.php diff --git a/README.md b/README.md index df07ffb..92707a0 100644 --- a/README.md +++ b/README.md @@ -8,18 +8,19 @@ This repository is a PSR-4 Composer-ready version of [devi/Salt](https://github. ## Features -- Blake2b -- Chacha20 -- Chacha20Poly1305 -- Curve25519 -- Ed25519 -- Poly1305 -- Salsa20 -- Salt +- [Blake2b](https://github.com/MikeRow/Salt/tree/master/src/Blake2b) +- [Chacha20](https://github.com/MikeRow/Salt/tree/master/src/Chacha20) +- [Chacha20Poly1305](https://github.com/MikeRow/Salt/tree/master/src/Chacha20Poly1305) +- [Curve25519](https://github.com/MikeRow/Salt/tree/master/src/Curve25519) +- [Ed25519](https://github.com/MikeRow/Salt/tree/master/src/Ed25519) +- [Poly1305](https://github.com/MikeRow/Salt/tree/master/src/Poly1305) +- [Salsa20](https://github.com/MikeRow/Salt/tree/master/src/Salsa20) +- [FieldElement](https://github.com/MikeRow/Salt/blob/master/src/FieldElement.php) +- [Salt](https://github.com/MikeRow/Salt/blob/master/src/Salt.php) cryptography methods -- NanoSalt +- [NanoSalt](https://github.com/MikeRow/Salt/blob/master/src/NanoSalt.php) cryptography methods for Banano/Nano currencies (different signing) diff --git a/src/NanoSalt.php b/src/NanoSalt.php index 081bc71..6bd1ebb 100644 --- a/src/NanoSalt.php +++ b/src/NanoSalt.php @@ -25,6 +25,8 @@ use MikeRow\Salt\Poly1305\Poly1305; use MikeRow\Salt\Salsa20\Salsa20; +class NanoSaltException extends Exception {} + class NanoSalt { /* Salsa20, HSalsa20, XSalsa20 */ diff --git a/src/NanoSaltException.php b/src/NanoSaltException.php deleted file mode 100644 index c10b163..0000000 --- a/src/NanoSaltException.php +++ /dev/null @@ -1,5 +0,0 @@ -