We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c027ef2 commit e70dbf6Copy full SHA for e70dbf6
1 file changed
src/webd/language/SpamSum.php
@@ -36,14 +36,30 @@ public static function Hash($string) {
36
protected $left;
37
protected $right;
38
39
+ /**
40
+ * Set a different hash length
41
+ * min = 1, default = 64
42
+ *
43
+ * @param type $l
44
+ */
45
public function SetHashLength($l) {
46
$this->SPAMSUM_LENGTH = $l;
47
}
48
49
50
+ * Set the number of letters to use to create the hash
51
+ * min = 2, max = 64, default = 64 (base64)
52
53
54
public function SetLetters($l) {
55
$this->LETTERS = $l;
56
57
58
59
+ * Manually set the minimum block size
60
+ * min = 1, default = 3
61
+ * @param type $s
62
63
public function SetMinBlocksize($s) {
64
$this->MIN_BLOCKSIZE = $s;
65
0 commit comments