X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FUtils.php;fp=application%2FUtils.php;h=0a5b476ebf9779bbe47f8ea7f28ef0de21b28481;hb=8147ff76a49206a08999f420206d971de10db12e;hp=0166ee2ac0e132035af72e132a50ceb4368933e7;hpb=9eba6ff469bdea8f341af06ef23c8bb4bd3a6869;p=github%2Fshaarli%2FShaarli.git diff --git a/application/Utils.php b/application/Utils.php index 0166ee2a..0a5b476e 100644 --- a/application/Utils.php +++ b/application/Utils.php @@ -31,7 +31,11 @@ function logm($logFile, $clientIp, $message) * - are NOT cryptographically secure (they CAN be forged) * * In Shaarli, they are used as a tinyurl-like link to individual entries, - * e.g. smallHash('20111006_131924') --> yZH23w + * built once with the combination of the date and item ID. + * e.g. smallHash('20111006_131924' . 142) --> eaWxtQ + * + * @warning before v0.8.1, smallhashes were built only with the date, + * and their value has been preserved. * * @param string $text Create a hash from this text. *