| 1 |
Revision history for Bytes::Random::Secure |
| 2 |
|
| 3 |
0.29 2015-07-12 |
| 4 |
- Added a shuffle method available via the OO user interface. |
| 5 |
- Added a SEE ALSO POD section that mentions Bytes::Random::Secure::Tiny |
| 6 |
|
| 7 |
0.28 2013-11-21 |
| 8 |
- Removed silly micro-optimization that was responsible for generating a |
| 9 |
warning in Perl versions prior to 5.18. |
| 10 |
|
| 11 |
0.27 2013-10-06 |
| 12 |
- Merged pull request from David Steinbrunner: specifying meta-spec |
| 13 |
so metadata can be seen/used. |
| 14 |
- Fixed t/05-kwalitee.t to work with latest revisions on Test::Kwalitee. |
| 15 |
|
| 16 |
0.26 2012-06-22 |
| 17 |
- Improved a test comment in t/27....t. Removed a comment paragraph that |
| 18 |
isn't relevant now that the timing has been removed. |
| 19 |
- POD edits. |
| 20 |
- POD spelling corrections (closes RT#86326). |
| 21 |
- Add "FORK AND THREAD SAFETY section to CAVIATS. |
| 22 |
|
| 23 |
0.25 2012-02-23 |
| 24 |
- Removed the speed test / fall-back from t/27-fips140-1.t; it's unnecessary, |
| 25 |
and could cause divide by zero errors on really fast systems. |
| 26 |
|
| 27 |
0.24 2012-02-22 |
| 28 |
- Added a small explanation of Test::Warn optional dependency to the |
| 29 |
DEPENDENCIES section of the POD. Most of the explanation is in the |
| 30 |
INSTALLATION section. |
| 31 |
- Added t/27-fips140-1.t: Code taken directly from Dana Jacobsen's |
| 32 |
Crypt::Random::TESHA2 module's test suite. This test implements the |
| 33 |
FIPS 140-1 tests. See http://csrc.nist.gov/publications/fips/fips1401.htm |
| 34 |
- Removed "slow" tests from t/20-functions.t: The FIPS-140 tests are superior |
| 35 |
and make the older slow tests unnecessary. |
| 36 |
|
| 37 |
0.23 2012-02-11 |
| 38 |
- Clarified the (small) magnitude of the performance issues surrounding |
| 39 |
random_string_from() (MODULO BIAS section of POD). (DANAJ's suggestion.) |
| 40 |
- Added a test for _closest_divisor(). |
| 41 |
- Added a POD section discussing ISAAC's strengths. |
| 42 |
- Increased SEED_MAX bits from 512 (arbitrary) to 8192 (theoretical |
| 43 |
max for ISAAC). Added explanation to POD, and adjusted tests. |
| 44 |
- Minor corrections in # code comments (accuracy). |
| 45 |
- Added irand() object method per Dana Jacobsen's request and |
| 46 |
code contribution. |
| 47 |
- POD and tests for irand(). |
| 48 |
- Test::Warn is now an optional dependency. By ensuring that Test::Warn is |
| 49 |
installed, the module has 100% test coverage (per Devel::Cover). |
| 50 |
|
| 51 |
0.22 2013-01-29 |
| 52 |
- Implement suggestions from Dana Jacobsen (Unicode tests, specify minimum |
| 53 |
versions for dependencies, document installation on older Perls). |
| 54 |
- POD correction -- Removed reference to config_seed. |
| 55 |
- POD: Added INSTALLATION section to address issues with older Perls. |
| 56 |
- POD: Clarified "CAVEATS" with discussion of Unicode support in pre-5.8.9. |
| 57 |
- Added t/23-string_from_unicode.t to test Unicode on Perl 5.8.9+. |
| 58 |
- Added a Unicode example to examples/random_from.pl. |
| 59 |
- Set a CONFIGURE_REQUIRES to pull in a recent ExtUtils::MakeMaker. |
| 60 |
- Set minimum versions on some Core modules from which we're using newer |
| 61 |
features, or which behaved badly in old 5.6.x-contemporary versions. |
| 62 |
|
| 63 |
0.21 2013-01-24 |
| 64 |
- All functions and methods will now throw an exception if the byte-count |
| 65 |
parameter is passed something that doesn't look like an integer >= 0. |
| 66 |
- examples/*.pl updated to demonstrate new features. |
| 67 |
- Remove silly check for "bag" strings longer than 2**32. |
| 68 |
- Eliminate a line of unreachable code from _closest_divisor(). |
| 69 |
- Test coverage is now 100%. |
| 70 |
|
| 71 |
0.20 2013-01-24 |
| 72 |
- This is a major release. Much thanks to Dana Jacobson for his ideas, |
| 73 |
suggestions, code reviews, and for writing Crypt::Random::Seed. |
| 74 |
- Major refactoring / rewrite. |
| 75 |
- Built an OO base layer over which the functions interface is a thin wrapper. |
| 76 |
- OO interface exposed publically. |
| 77 |
- Documented all functions. (POD) |
| 78 |
- removed config_seed() (never publically released). |
| 79 |
- Seed defaults for both interfaces are 256 bits. |
| 80 |
- Major enhancements to test suite. (Coverage is 99.3%) |
| 81 |
- ALL OF THE FOLLOWING CHANGES ARE FROM (UNRELEASED) 0.13: |
| 82 |
- * Compatible with Perl 5.6. |
| 83 |
- * Dropped Crypt::Random::Source dependency in favor of Crypt::Random::Seed. |
| 84 |
- * Seeding is lazy. |
| 85 |
- * Minimum seed size: 2-longs (64 bits). Maximum, 16 longs (512 bits). |
| 86 |
- * Documented how to configure seeding. |
| 87 |
|
| 88 |
0.13 2013-01-15 (Never released) |
| 89 |
- POD clarification, enhancement. |
| 90 |
- Improved backwards compatibility support for Perl v5.6.x. |
| 91 |
- Eliminated Crypt::Random::Source dependency in favor of Crypt::Random::Seed; |
| 92 |
Thanks to Dana Jacobsen for creating that light-weight and powerful tool. |
| 93 |
- Added some seed tests. |
| 94 |
- Made Test::Pod::Coverage a 'RELEASE_TESTING' only test. |
| 95 |
- Made seeding and RNG-instantiation "lazy" so that |
| 96 |
"use Bytes::Random::Secure;" only drains system entropy if random bytes are |
| 97 |
actually requested. (Thanks again to Dana Jacobsen for the idea). |
| 98 |
- Modified _seed() to pass seed configuration through to Crypt::Random::Seed's |
| 99 |
constructor. |
| 100 |
- Added a config_seed() class method to facilitate configuration of |
| 101 |
the Crypt::Random::Seed object used in seeding the ISAAC algorithm. |
| 102 |
- Minimum seed size set to 2-longs, max to 16-longs (default). |
| 103 |
- Documented how to configure the seeding, and explained why it might be |
| 104 |
useful to do so (drain less system entropy). |
| 105 |
- Added META.* tests. |
| 106 |
|
| 107 |
0.12 2012-12-09 |
| 108 |
- Applied rewrite of random_bytes() from Dana Jacobsen, that improves |
| 109 |
performance while at the same time making better use of the 32 bit random |
| 110 |
value returned by ISAAC. |
| 111 |
- POD fixes/tweaks. |
| 112 |
|
| 113 |
0.11 2012-12-05 |
| 114 |
- Fixed a few issues where v0.10 broke compatibility with Perls older than |
| 115 |
v5.10. (Removed // operator.) |
| 116 |
- POD improvements. |
| 117 |
- Added a few entries in MANIFEST.SKIP. |
| 118 |
|
| 119 |
0.10 2012-12-04 |
| 120 |
- Better handling of random_bytes() (no parameter passed): Now defaults to |
| 121 |
zero bytes explicitly, so we don't get "uninitialized values" warnings. |
| 122 |
- Added random_string_from($bag,$length) function. |
| 123 |
- Added tests for no param list, as well as for new random_string_from() |
| 124 |
function and its support functions. |
| 125 |
- POD enhancements. |
| 126 |
- Removed bytes pragma; it wasn't necessary, and prevented support for |
| 127 |
unicode code points in random_string_from()'s bag. |
| 128 |
|
| 129 |
0.09 2012-11-02 |
| 130 |
- "Changes" is now CPAN::Changes::Spec compliant. |
| 131 |
- Added t/09-changes.t to verify spec compliance. |
| 132 |
|
| 133 |
0.08 2012-10-28 |
| 134 |
- Added an example in the ./examples/ directory. |
| 135 |
- Added a minimum Perl version to the distribution metadata. |
| 136 |
|
| 137 |
0.07 2012-09-23 |
| 138 |
- Refined t/20-functionality.t's approach toward verifying bytes seem well |
| 139 |
behaved. |
| 140 |
- Corrected a couple of POD problems. |
| 141 |
- Note: Under Moose the test suite generates a few warnings. Not sure what |
| 142 |
the best solution will be (they're harmless but annoying). |
| 143 |
|
| 144 |
0.06 2012-09-21 |
| 145 |
- Fixed the optionality of t/21-bytes_random_tests.t. |
| 146 |
- Documented the install process in README. |
| 147 |
|
| 148 |
0.05 2012-09-20 |
| 149 |
- POD revisions: Better details on dependencies, minimizing bloat, and |
| 150 |
Win32-specific requirements. |
| 151 |
- 21-bytes_random_tests.t is now optional, because Statistics::Basic will |
| 152 |
fail to install in some environments due to a problem in one of its |
| 153 |
dependencies (Number::Format). |
| 154 |
|
| 155 |
0.04 2012-09-19 |
| 156 |
- Added t/21-bytes_random_tests.t, which is an adaptation of the test suite |
| 157 |
for the Bytes::Random module. |
| 158 |
- Added a BUILD_REQUIRES dependency to accommodate the Bytes::Random tests. |
| 159 |
|
| 160 |
0.03 2012-09-18 |
| 161 |
- POD enhancements, explaining the dependency chain, and how to minimize |
| 162 |
the Any::Moose impact by ensuring Mouse is installed. |
| 163 |
- Removed syntax that was only valid for newer versions of Perl. We should |
| 164 |
be 5.6.x compatible now. |
| 165 |
- Placed the random number factory in a closure, making it only accessable |
| 166 |
by the accessor random_bytes(). |
| 167 |
- Added some tests for seed generation since we took that functionality |
| 168 |
away from Math::Random::Secure when we removed it from our list of |
| 169 |
dependencies in v0.02. |
| 170 |
- Added a Win32 test to Makefile.PL so that a Windows-only dependency will |
| 171 |
be included if necessary. |
| 172 |
|
| 173 |
0.02 2012-09-17 |
| 174 |
- Removed Math::Random::Secure dependency. |
| 175 |
- Added Math::Random::ISAAC and Crypt::Random::Source dependencies (they |
| 176 |
were already dependencies of Math::Random::Secure, so we're actually a |
| 177 |
little lighter-weight now). |
| 178 |
- POD enhancements: Explain Math::Random::ISAAC::XS plugin, explain |
| 179 |
dependency chain, and explain why it gets a whole lot worse under Windows. |
| 180 |
|
| 181 |
0.01 2012-09-06 |
| 182 |
- Initial CPAN release. |