diff --git a/.env.example b/.env.example index 0fb120f8..8de63e8b 100644 --- a/.env.example +++ b/.env.example @@ -30,8 +30,14 @@ DB_PREFIX = null # Encrypt Method for Passwords. # -# Available values: PHP_PASSWORD_HASH, (SALTED2)MD5, (SALTED2)SHA256, (SALTED2)SHA512 -# New sites are highly recommend to use PHP_PASSWORD_HASH. +# Available values: +# - PHP_PASSWORD_HASH, +# - (SALTED2)MD5, +# - (SALTED2)SHA256, +# - (SALTED2)SHA512, +# - CrazyCrypt1 +# +# New sites are *highly* recommend to use PHP_PASSWORD_HASH. # PWD_METHOD = PHP_PASSWORD_HASH @@ -42,7 +48,7 @@ PWD_METHOD = PHP_PASSWORD_HASH # SALT = 2c5ca184f017a9a1ffbd198ef69b0c0e -# App Key should be setted to any random, **32 character** string, +# App Key should be setted to any random, *32 character* string, # otherwise all the encrypted strings will not be safe. # # You can run [php artisan key:generate] to generate a new key. diff --git a/app/Services/Cipher/CrazyCrypt1.php b/app/Services/Cipher/CrazyCrypt1.php new file mode 100644 index 00000000..85507951 --- /dev/null +++ b/app/Services/Cipher/CrazyCrypt1.php @@ -0,0 +1,22 @@ +