WIP: working to write the picseal files

This commit is contained in:
JohnE 2016-10-14 01:18:28 -07:00
parent f397467af9
commit f1d7a07257
3 changed files with 3 additions and 7 deletions

View File

@ -1,5 +1,5 @@
#
#
# This Class Provides Crypto Functions
#
import logging
from Crypto.Signature import PKCS1_v1_5
@ -8,7 +8,6 @@ from Crypto.Hash import SHA512
class Signature:
#
def __init__(self):
key_data = None

View File

@ -27,10 +27,6 @@ class JpgBin:
BUF_CHUNK_SIZE = 2048
markers = {
'SOS': 0xffd9
}
def __init__(self):
self.data_buf = None
self.data_idx = 0

View File

@ -3,7 +3,8 @@
#
class JpgBinWrite:
soi = 0xffd8
soi_marker = 0xffd8
picseal_marker = 0xffe0
def __init__(self):
pass