aboutsummaryrefslogtreecommitdiffstats
path: root/doc/python/rng_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/python/rng_test.py')
-rwxr-xr-xdoc/python/rng_test.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/doc/python/rng_test.py b/doc/python/rng_test.py
deleted file mode 100755
index 06c79b84e..000000000
--- a/doc/python/rng_test.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/python
-
-import botan
-
-rng = botan.RandomNumberGenerator()
-
-print "name", rng.name()
-
-rng.add_entropy("blah")
-
-print "random 16", rng.gen_random(16).encode("hex")
-print "random 32", rng.gen_random(32).encode("base64"),
-
-rng.reseed()
-
-for i in range(0, 10):
- print rng.gen_random_byte(),
-print
-
-rng.add_entropy("blah")
-
-print "random 16", rng.gen_random(16).encode("hex")