diff --git a/README.md b/README.md index cc8c4a2..c60c264 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # hashr ### _Password hash generator_ -List of all PHP hashing algorithms ([hash_algos() function](http://php.net/manual/en/function.hash-algos.php)) and their result for an input string. +List of all PHP hashing algorithms ([hash_algos() function](http://php.net/manual/en/function.hash-algos.php)) and their result (and hashing time) for an input string. diff --git a/calculate_hashes.php b/calculate_hashes.php new file mode 100644 index 0000000..0c0ba93 --- /dev/null +++ b/calculate_hashes.php @@ -0,0 +1,10 @@ + $algo) { +?> +
+

+

Hash:

+ Execution time: nanoseconds +
+ \ No newline at end of file diff --git a/function.php b/function.php index 94edd7b..5d51f6d 100644 --- a/function.php +++ b/function.php @@ -1,8 +1,13 @@ \ No newline at end of file diff --git a/index.php b/index.php index 7eaa87a..b8e0209 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,3 @@ - @@ -17,24 +14,29 @@ grid-auto-columns: minmax(20%, 30%); } + -
+ - +

-
- $algo) { ?> -
-

-

Hash:

-
- +
+