2016-10-23 11:07:16 -05:00
|
|
|
#!/usr/bin/env python
|
|
|
|
#
|
2016-11-21 19:13:32 -06:00
|
|
|
###############################################################################
|
|
|
|
# Copyright (C) 2016 Cortney T. Buffington, N0MJS <n0mjs@me.com>
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
###############################################################################
|
2016-10-23 11:07:16 -05:00
|
|
|
|
|
|
|
from __future__ import print_function
|
|
|
|
|
|
|
|
from bitarray import bitarray
|
|
|
|
import constants
|
|
|
|
|
|
|
|
# Does anybody read this stuff? There's a PEP somewhere that says I should do this.
|
|
|
|
__author__ = 'Cortney T. Buffington, N0MJS'
|
|
|
|
__copyright__ = 'Copyright (c) 2016 Cortney T. Buffington, N0MJS and the K0USY Group'
|
|
|
|
__credits__ = 'Jonathan Naylor, G4KLX'
|
2016-11-22 20:02:09 -06:00
|
|
|
__license__ = 'GNU GPLv3'
|
2016-10-23 11:07:16 -05:00
|
|
|
__maintainer__ = 'Cort Buffington, N0MJS'
|
|
|
|
__email__ = 'n0mjs@me.com'
|
|
|
|
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Used to execute the module directly to run built-in tests
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
|
|
|
|
from binascii import b2a_hex as h
|
|
|
|
from time import time
|
|
|
|
|
|
|
|
print(ENC_EMB)
|