This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# | |
# This program will take a file name from the command line and analyze its entropy, using many of the same algorithms | |
# as the ent program from hotbits | |
import sys | |
import struct | |
import math | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.mlab as mlab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FILE: RandomCardDraw.ino | |
// AUTHOR: Rob Tillaart and Walter Anderson | |
// VERSION: 1.0.0 | |
// PURPOSE: generate random sequence (optimized) | |
// DATE: April 24, 2014 | |
// URL: | |
// The Entropy library provides true random numbers and can be obtained from: | |
// http://code.google.com/p/avr-hardware-random-number-generation/wiki/WikiAVRentropy | |
#include <Entropy.h> |