]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/iterator/producer/keys/class_TestUnitKeyProducerIterator.php
The key producer may produce as twice as keys per second:
[hub.git] / application / hub / main / iterator / producer / keys / class_TestUnitKeyProducerIterator.php
index 5feea77bafc7cf6af9c09c8c9158d5e0b7e14d6d..77501e46f86c1ac84f67c689db0146e500dcc0b8 100644 (file)
@@ -49,14 +49,14 @@ class TestUnitKeyProducerIterator extends BaseIterator implements Iterator {
                // Get key length
                $this->keyLength = $this->getConfigInstance()->getConfigEntry('test_unit_random_secret_key_length');
 
-               // Make sure the key length isn't getting to big (32 byte = 256 bit is really a lot)
+               // Make sure the key length isn't getting to big (32 byte = 256 bit is really, really a lot!)
                assert($this->keyLength <= (8 * 32));
 
                // Set max bits entry
                $this->maxBits = pow(2, $this->keyLength);
 
                // Debug message
-               $this->debugOutput('ITERATOR: maxBits=' . $this->maxBits . ',keyLength=' . $this->keyLength);
+               $this->debugOutput('ITERATOR: maxBits=' . $this->maxBits . ',keyLength=' . $this->keyLength . ' bits');
        }
 
        /**