aboutsummaryrefslogtreecommitdiffstats
path: root/wrappers/swig/tests/mac.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-03 23:41:56 +0000
committerlloyd <[email protected]>2009-11-03 23:41:56 +0000
commit30f6169ebf9164a6fdb35519030975440a5b07d7 (patch)
tree8435e826dd692066c6c3fc56d02f8f4479188c02 /wrappers/swig/tests/mac.py
parentcb0d4a18f2fc77a40f6055fedb43b78606068b7b (diff)
parent226d96ee4e64994beb9ec9436a29ac6656d61924 (diff)
propagate from branch 'net.randombit.botan.1_8' (head 6e8c18515725a70923b34118951252723dd4c29a)
to branch 'net.randombit.botan' (head 77ba4ea5a4be36d6d029bcc852b2271edff0d679)
Diffstat (limited to 'wrappers/swig/tests/mac.py')
-rw-r--r--wrappers/swig/tests/mac.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/wrappers/swig/tests/mac.py b/wrappers/swig/tests/mac.py
deleted file mode 100644
index 6110b6102..000000000
--- a/wrappers/swig/tests/mac.py
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/python
-
-import botan, base64
-
-mac = botan.MAC("HMAC(SHA-512)")
-
-print mac.name
-print mac.output_length
-
-mac.set_key(botan.SymmetricKey("abcd"))
-mac.update("hi chappy")
-print base64.b16encode(mac.final())