Skip to content

Releases: embarquech/trng

1.0.2

22 Feb 09:46

Choose a tag to compare

Fixes

  • Fixed license identifiers from LGPL-2.1 to LGPL-3.0
  • Fixed C++ wrapper parameter names (mn/mx → min/max)
  • Corrected randomRange documentation (min >= max → min > max)

Improvements

  • Applied MISRA C:2012 formatting (unsigned suffixes on all integer literals)
  • Improved trng.c file header description
  • Added version and Arduino Library Manager badges to README
  • Added author email in library.properties

1.0.1 - Rejection sampling for unbiased random ranges

20 Feb 22:53

Choose a tag to compare

  • Uses rejection sampling to eliminate modulo bias in trng_randomRange.

1.0.0 - Initial release

20 Feb 20:27

Choose a tag to compare

Hardware True Random Number Generator library for Arduino UNO R4 (WiFi & Minima).

Features

  • 128-bit true random reads via SCE5 TRNG peripheral
  • Convenience functions: random32, random16, random8, randomRange
  • Buffer fill with fillRandom
  • C API + C++ Arduino wrapper
  • MISRA C compliant

Compatibility

  • Arduino UNO R4 WiFi
  • Arduino UNO R4 Minima

Documentation