|
go.crypto/fortuna: Implements the Fortuna secure random number generator
Implemented as described in Cryptography Engineering, N. Ferguson,
B. Schneier, T. Kohno, ISBN 978-0-470-47424-2.
Implemented the Generator interface as a stand-alone usable
pseudo-random number generator (PRNG) that has better security
properties than using AES in CTR mode.
A python implementation of the Generator is included in testdata to
confirm the pure determinism of the implementation.
Total comments: 28
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1235 lines, -0 lines) |
Patch |
|
A |
fortuna/README
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/counter.go
|
View
|
1
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/counter_test.go
|
View
|
1
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/double_hash.go
|
View
|
1
2
3
4
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/double_hash_test.go
|
View
|
1
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/fortuna.go
|
View
|
1
2
3
4
|
1 chunk |
+202 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/fortuna_test.go
|
View
|
1
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/generator.go
|
View
|
1
2
3
4
|
1 chunk |
+162 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/generator_test.go
|
View
|
1
2
3
4
|
1 chunk |
+314 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/testdata/double_hash.json
|
View
|
1
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/testdata/fortuna_generator.py
|
View
|
1
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/testdata/generate_double_hash.py
|
View
|
1
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/testdata/generate_generator.py
|
View
|
1
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
|
A |
fortuna/testdata/generator.json
|
View
|
1
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
Total messages: 16
|