mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-27 19:06:12 +02:00
Updated Python headers files. Added .gitignore.
This commit is contained in:
parent
173d65f8aa
commit
979c6277b0
13 changed files with 58 additions and 31 deletions
|
@ -2,9 +2,9 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Stéganô - Stéganô is a basic Python Steganography module.
|
||||
# Copyright (C) 2010-2013 Cédric Bonhomme - http://cedricbonhomme.org/
|
||||
# Copyright (C) 2010-2015 Cédric Bonhomme - https://www.cedricbonhomme.org
|
||||
#
|
||||
# For more information : http://bitbucket.org/cedricbonhomme/stegano/
|
||||
# For more information : https://github.com/cedricbonhomme/Stegano
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -93,7 +93,7 @@ def binary2base64(binary_file):
|
|||
|
||||
# Encode binary to base64 string (printable)
|
||||
return base64.b64encode(binary_data)
|
||||
|
||||
|
||||
"""fout = open(output_file, "w")
|
||||
fout.write(b64_data)
|
||||
fout.close"""
|
||||
|
@ -107,4 +107,4 @@ def base642binary(b64_fname):
|
|||
#b64_str = fin.read()
|
||||
#fin.close()
|
||||
# Decode base64 string to original binary sound object
|
||||
return base64.b64decode(b64_fname)
|
||||
return base64.b64decode(b64_fname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue