Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Add a description for our PRNG
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Foukarakis committed Mar 12, 2014
1 parent 965cba6 commit 6a5582a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion polynomial.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# @author Michael Foukarakis
# @version 0.1
# @date Created: Sun Jul 10, 2011 03:03 PDT
# Last Update: Wed Aug 28, 2013 10:23 BST
# Last Update: Mon Jan 27, 2014 12:13 EET
#------------------------------------------------------------------------
# Description: A class representing polynomials over GF(2).
# The coefficients are stored in a list.
Expand Down
13 changes: 13 additions & 0 deletions prng.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/**
* @file prng.c
* @author Michael Foukarakis
* @date Created: Wed Mar 12, 2014 14:03 GMT
* Last Update: Wed Mar 12, 2014 14:05 GMT
* @description PRNG using linear feedback shift registers.
* One shift register is used to provide data, while another register is used
* to "clock" data output; meaning a data bit is output when the clock
* register outputs a one bit, otherwise the data bit is dropped.
*------------------------------------------------------------------------
* -*- coding: utf-8 -*-
*------------------------------------------------------------------------
*/
#include <stdio.h>
#include <stdlib.h>
#include "lfsr.h"
Expand Down

0 comments on commit 6a5582a

Please sign in to comment.