Skip to content

Instantly share code, notes, and snippets.

View BenMatteson's full-sized avatar

Ben BenMatteson

View GitHub Profile
@BenMatteson
BenMatteson / gist:5088498
Created March 5, 2013 06:50
Timed shuffle results
#1 - CryptoRandomShuffle
Score: 38.560101010101/100
#2 - TBronsonShuffleTest
Score: 38.4924242424242/100
#3 - QuantumShuffleTest
Score: 19.5469696969697/100
#4 - GraveShuffleOne
Score: 2.57020202020202/100
-------------------------------------------
#1 - CryptoRandomShuffle
@BenMatteson
BenMatteson / gist:5079169
Last active December 14, 2015 11:28
Shuffle results
#1 - GraveShuffleTwo
Score: 40.8025252525252/100
#2 - QuantumShuffleTest
Score: 40.639898989899/100
#3 - TBronsonShuffleTest
Score: 40.3080808080808/100
#4 - SoulShuffle
Score: 40.179292929293/100
//#5 - CryptoRandomShuffle
// Score: 40.1631313131313/100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
namespace Octgn.Utils
{
class CryptoRNG
{