Note about drgNewTest and endianness
This commit is contained in:
parent
9eadf707c4
commit
81cc351800
@ -84,6 +84,9 @@ drgNewSeed (Seed seed) = initialize seed
|
|||||||
-- Note that the @Arbitrary@ instance provided by QuickCheck for 'Word64' does
|
-- Note that the @Arbitrary@ instance provided by QuickCheck for 'Word64' does
|
||||||
-- not have a uniform distribution. It is often better to use instead
|
-- not have a uniform distribution. It is often better to use instead
|
||||||
-- @arbitraryBoundedRandom@.
|
-- @arbitraryBoundedRandom@.
|
||||||
|
--
|
||||||
|
-- System endianness impacts how the tuple is interpreted and therefore changes
|
||||||
|
-- the resulting DRG.
|
||||||
drgNewTest :: (Word64, Word64, Word64, Word64, Word64) -> ChaChaDRG
|
drgNewTest :: (Word64, Word64, Word64, Word64, Word64) -> ChaChaDRG
|
||||||
drgNewTest = initializeWords
|
drgNewTest = initializeWords
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user