mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 17:18:30 +02:00
Import tools in the binary.
This commit is contained in:
parent
5c8f8610b4
commit
f8da5e9761
3 changed files with 13 additions and 0 deletions
2
bin/slsb
2
bin/slsb
|
@ -29,6 +29,8 @@ try:
|
|||
except:
|
||||
print "Install stegano: python setup.py install"
|
||||
|
||||
from stegano import tools
|
||||
|
||||
from optparse import OptionParser
|
||||
parser = OptionParser(version=__version__)
|
||||
parser.add_option('--hide', action='store_true', default=False,
|
||||
|
|
|
@ -29,6 +29,8 @@ try:
|
|||
except:
|
||||
print "Install stegano: python setup.py install"
|
||||
|
||||
from stegano import tools
|
||||
|
||||
from optparse import OptionParser
|
||||
parser = OptionParser(version=__version__)
|
||||
parser.add_option('--hide', action='store_true', default=False,
|
||||
|
|
|
@ -26,6 +26,15 @@ __license__ = "GPLv3"
|
|||
|
||||
import itertools
|
||||
|
||||
def identity():
|
||||
"""
|
||||
f(x) = x
|
||||
"""
|
||||
n = 0
|
||||
while True:
|
||||
yield n
|
||||
n += 1
|
||||
|
||||
def fermat():
|
||||
"""
|
||||
Generate the n-th Fermat Number.
|
||||
|
|
Loading…
Add table
Reference in a new issue