$current = $this->dec2asc($this->currentIteration);
// Prepend more zeros
- $current = $this->prependStringToString($current, chr(0), ($this->keyLength / 8));
+ $current = str_pad($current, ($this->keyLength / 8), chr(0), STR_PAD_LEFT);
// Return it
return $current;