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 import logging
from Crypto.Signature import PKCS1_v1_5 from Crypto.Signature import PKCS1_v1_5
@ -7,7 +7,6 @@ from Crypto.PublicKey import RSA
from Crypto.Hash import SHA512 from Crypto.Hash import SHA512
class Signature: class Signature:
# #
def __init__(self): def __init__(self):

View File

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

View File

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