Ignore:
Timestamp:
Dec 30, 2014 10:24:51 PM (9 years ago)
Author:
anonymous
Message:

Many minor fixes during pulso development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Utilities.inc.php

    r500 r502  
    941941/**
    942942 * Signs a value using md5 and a simple text key. In order for this
    943  * function to be useful (i.e. secure) the key must be kept secret, which
     943 * function to be useful (i.e. secure) the salt must be kept secret, which
    944944 * means keeping it as safe as database credentials. Putting it into an
    945945 * environment variable set in httpd.conf is a good place.
    946  *
    947  * TODO: consider using more bits-per-character, such as done with:
    948  * http://www.php.net/manual/en/function.sha1.php#86239
    949  * http://blog.kevburnsjr.com/php-unique-hash
    950946 *
    951947 * @access  public
     
    999995 * @param   string  $signed_val A value with appended signature.
    1000996 * @param   string  $salt       (Optional) A text key to use for computing the signature.
     997 * @param   string  $length (Optional) The length of the added signature.
    1001998 * @return  bool    True if the signature matches the var.
    1002999 */
Note: See TracChangeset for help on using the changeset viewer.