update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
@@ -5,14 +5,9 @@
|
||||
use Safe\Exceptions\SsdeepException;
|
||||
|
||||
/**
|
||||
* Calculates the match score between signature1
|
||||
* and signature2 using
|
||||
* context-triggered piecewise hashing, and returns the match
|
||||
* score.
|
||||
*
|
||||
* @param string $signature1 The first fuzzy hash signature string.
|
||||
* @param string $signature2 The second fuzzy hash signature string.
|
||||
* @return int Returns an integer from 0 to 100 on success.
|
||||
* @param string $signature1
|
||||
* @param string $signature2
|
||||
* @return int
|
||||
* @throws SsdeepException
|
||||
*
|
||||
*/
|
||||
@@ -28,13 +23,8 @@ function ssdeep_fuzzy_compare(string $signature1, string $signature2): int
|
||||
|
||||
|
||||
/**
|
||||
* ssdeep_fuzzy_hash_filename calculates the hash
|
||||
* of the file specified by file_name using
|
||||
* context-triggered piecewise
|
||||
* hashing, and returns that hash.
|
||||
*
|
||||
* @param string $file_name The filename of the file to hash.
|
||||
* @return string Returns a string on success.
|
||||
* @param string $file_name
|
||||
* @return string
|
||||
* @throws SsdeepException
|
||||
*
|
||||
*/
|
||||
@@ -50,12 +40,8 @@ function ssdeep_fuzzy_hash_filename(string $file_name): string
|
||||
|
||||
|
||||
/**
|
||||
* ssdeep_fuzzy_hash calculates the hash of
|
||||
* to_hash using
|
||||
* context-triggered piecewise hashing, and returns that hash.
|
||||
*
|
||||
* @param string $to_hash The input string.
|
||||
* @return string Returns a string on success.
|
||||
* @param string $to_hash
|
||||
* @return string
|
||||
* @throws SsdeepException
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user