index.js
function unsigncookie(val, secrets) {
  for (var i = 0; i < secrets.length; i++) {
    var result = signature.unsign(val, secrets[i]);

    if (result !== false) {
      return result;
    }
  }

  return false;
}
function unsigncookie(val, secrets) {
  for (var i = 0; i < secrets.length; i++) {
    var result = signature.unsign(val, secrets[i]);

    if (result !== false) {
      return result;
    }
  }

  return false;
}
function unsigncookie ( val , secrets ) { for ( var i = 0 ; i < secrets . length ; i ++ ) { var result = signature . unsign ( val , secrets [ i ] ) ; if ( result !== false ) { return result ; } } return false ; }
Verify and decode the given `val` with `secrets`.

@param {String} val
@param {Array} secrets
@returns {String|Boolean}
@private
Verify and decode the given val with secrets .