WIP: working to write the picseal files
This commit is contained in:
parent
f397467af9
commit
f1d7a07257
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
#
|
||||
# This Class Provides Crypto Functions
|
||||
#
|
||||
import logging
|
||||
from Crypto.Signature import PKCS1_v1_5
|
||||
|
@ -7,7 +7,6 @@ from Crypto.PublicKey import RSA
|
|||
from Crypto.Hash import SHA512
|
||||
|
||||
class Signature:
|
||||
|
||||
|
||||
#
|
||||
def __init__(self):
|
|
@ -27,10 +27,6 @@ class JpgBin:
|
|||
|
||||
BUF_CHUNK_SIZE = 2048
|
||||
|
||||
markers = {
|
||||
'SOS': 0xffd9
|
||||
}
|
||||
|
||||
def __init__(self):
|
||||
self.data_buf = None
|
||||
self.data_idx = 0
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
#
|
||||
class JpgBinWrite:
|
||||
|
||||
soi = 0xffd8
|
||||
soi_marker = 0xffd8
|
||||
picseal_marker = 0xffe0
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue