diff --git a/app/Util/Identicon/Preprocessor/HashPreprocessor.php b/app/Util/Identicon/Preprocessor/HashPreprocessor.php new file mode 100644 index 000000000..39acb546c --- /dev/null +++ b/app/Util/Identicon/Preprocessor/HashPreprocessor.php @@ -0,0 +1,21 @@ +algo = $algo; + } + + /** + * {@inheritDoc} + */ + public function process($string) + { + return hash($this->algo, $string); + } +} \ No newline at end of file