aboutsummaryrefslogtreecommitdiffstats
path: root/misc/python/test.py
blob: 20c2a91190984885ca3b260116fd5b4e52ebf2c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/python

import sys, botan

class PyAlgo(botan.Algorithm):
    def name(self):
        return "PyAlgo"
    def clear(self):
        print "clearing"

def main():
    alg = PyAlgo()
    botan.print_algo(alg)

if __name__ == "__main__":
    sys.exit(main())