From 2647fc16cd92d0cb4bab2a400daf719a67eac302 Mon Sep 17 00:00:00 2001 From: thisiszeev Date: Fri, 5 Jan 2024 02:24:26 +0200 Subject: [PATCH] Update 'README.md' --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b16a640..d455b65 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,10 @@ This is optional. By default you will get a hash string followed by a new line. PBKDF2 is used in many applications where a password needs to be stored for future verification. Unlike just using a straight Hashing Algorithm, PBKDF2 uses a "salt" along side the password, and rehashes repeatedly according to the number of "iterations". +# Why did I write this script? + +I needed to be able to write passwords to MySQL/MariaDB/SQLite databases from the commandline. I couldn't find a native way to create the hash, and doing it in pure Bash took forever, so I eventually found a way to do it quickly by embedding Python code in the script. + # NOTE: This script requires Python3 which as it's own license. Please visit https://github.com/python/cpython for more information.