Mark Scherer 9 years ago
parent
commit
9546e63f89
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/Model/Table/TokensTable.php

+ 3 - 1
src/Model/Table/TokensTable.php

@@ -187,7 +187,9 @@ class TokensTable extends Table {
 	}
 	}
 
 
 	/**
 	/**
-	 * Generator
+	 * Generator of secure random tokens.
+	 * 
+	 * Note that it is best to use an even number for the length.
 	 *
 	 *
 	 * @param int|null $length (defaults to defaultLength)
 	 * @param int|null $length (defaults to defaultLength)
 	 * @return string Key
 	 * @return string Key