View sakai_random.py
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
import random | |
import struct | |
N=32 | |
def rp(a) : | |
a=list(range(0,32)) | |
x=0 | |
for i in range(0,N-2) : |
View chaos_rev.rb
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
N=32 | |
BYTE = false | |
x0=[0]*N | |
x1=[0]*N | |
x2=[0]*N | |
a=[0]*N | |
View perm_rand.c
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
#include <stdio.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#define N 16 | |
#define M 16 | |
#define NN 2 | |
unsigned char x0[N]={0}; |
View perm_rand.c
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
#include <stdio.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#define N 16 | |
#define M 16 | |
#define NN 2 | |
unsigned char xx[N]; |