FPsGA Code Modules: Difference between revisions

From Catcliffe Development
Jump to navigation Jump to search
(Created page with "{{Template:HeaderFPsGA}}")
 
No edit summary
Line 1: Line 1:
{{Template:HeaderFPsGA}}
{{Template:HeaderFPsGA}}
=== clsRandomity ===
<html>
<style>
  pre.VVB6 {
  background-color: #102;
  font-size: 12px;
  line-height: 14px;
  border: 1px outset cyan;
  color: lime;
  overflow: auto;
}
</style>
<pre class="VVB6" style="width:800px;">
    Public Enum enumRandomAlgorithm
        enuRA_VB6_Rnd
        enuRA_LCG                        ' Linear Congruential Generator **See note at EOF.
        enuRA_MersenneTwister            ' Mersenne Twister, specifically MT19937.
        enuRA_Xorshift                    ' A class of shift-register generators.
        enuRA_WELL                        ' Well Equidistributed Long-period Linear.
        enuRA_BlumBlumShub                ' Cryptographically secure based on hard mathematical problems.
        enuRA_ANSI_X9_17                  ' A CSPRNG standard using block ciphers.
        enuRA_NIST_SP800_90A_HMAC_DRBG    ' A CSPRNG from NIST using HMAC.
        enuRA_NIST_SP800_90A_CTR_DRBG    ' A CSPRNG from NIST using block cipher in counter mode.
        enuRA_SimplexNoise                ' Used for procedural content generation,
                                          ' similar to Perlin but computationally more efficient.
        enuRA_CellularAutomata            ' For generating randomness through cellular automata rules.
        enuRA_LaggedFibonacci            ' A lagged Fibonacci generator.
        enuRA_Quantum                    ' Representing quantum random number generators,
                                          ' though not directly implementable in VB6.
    End Enum
</pre>
</html>
<div style="width:800px; padding:5px 50px; margin:0 auto; background-color:#333; color:orange; font-size:24px; ">
</div>

Revision as of 14:45, 1 March 2024

Field Programmable soft Gate Array (FPsGA)

Description on ESP32 Code


clsRandomity

    Public Enum enumRandomAlgorithm
        enuRA_VB6_Rnd
        enuRA_LCG                         ' Linear Congruential Generator **See note at EOF.
        enuRA_MersenneTwister             ' Mersenne Twister, specifically MT19937.
        enuRA_Xorshift                    ' A class of shift-register generators.
        enuRA_WELL                        ' Well Equidistributed Long-period Linear.
        enuRA_BlumBlumShub                ' Cryptographically secure based on hard mathematical problems.
        enuRA_ANSI_X9_17                  ' A CSPRNG standard using block ciphers.
        enuRA_NIST_SP800_90A_HMAC_DRBG    ' A CSPRNG from NIST using HMAC.
        enuRA_NIST_SP800_90A_CTR_DRBG     ' A CSPRNG from NIST using block cipher in counter mode.
        enuRA_SimplexNoise                ' Used for procedural content generation, 
                                          ' similar to Perlin but computationally more efficient.
        enuRA_CellularAutomata            ' For generating randomness through cellular automata rules.
        enuRA_LaggedFibonacci             ' A lagged Fibonacci generator.
        enuRA_Quantum                     ' Representing quantum random number generators, 
                                          ' though not directly implementable in VB6.
    End Enum