crash.software
Projects
Pull Requests
Issues
Builds
DonPAPI
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
DonPAPI
Files
🤬
Sign In
v1.0.0
ROOT
/
lazagne
/
config
/
crypto
/
pyaes
/
blockfeeder.py
Search
History
228 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
AESBlockModeOfOperation
_can_consume
_final_encrypt
_final_decrypt
AESSegmentModeOfOperation
_can_consume
_final_encrypt
_final_decrypt
AESStreamModeOfOperation
_can_consume
_final_encrypt
_final_decrypt
append_PKCS7_padding
strip_PKCS7_padding
to_bufferable
PADDING_NONE
PADDING_DEFAULT
_block_can_consume
(self,size)
_block_final_encrypt
(self,data,padding=PADDING_DEFAULT)
_block_final_decrypt
(self,data,padding=PADDING_DEFAULT)
_segment_can_consume
(self,size)
_segment_final_encrypt
(self,data,padding=PADDING_DEFAULT)
_segment_final_decrypt
(self,data,padding=PADDING_DEFAULT)
_stream_can_consume
(self,size)
_stream_final_encrypt
(self,data,padding=PADDING_DEFAULT)
_stream_final_decrypt
(self,data,padding=PADDING_DEFAULT)
BlockFeeder
(object)
_mode
_feed
_final
_buffer
_padding
__init__
(self,mode,feed,final,padding=PADDING_DEFAULT)
feed
(self,data=None)
Encrypter
(BlockFeeder)
__init__
(self,mode,padding=PADDING_DEFAULT)
Decrypter
(BlockFeeder)
__init__
(self,mode,padding=PADDING_DEFAULT)
BLOCK_SIZE
_feed_stream
(feeder,in_stream,out_stream,block_size=BLOCK_SIZE)
encrypt_stream
(mode,in_stream,out_stream,block_size=BLOCK_SIZE,padding=PADDING_DEFAULT)
decrypt_stream
(mode,in_stream,out_stream,block_size=BLOCK_SIZE,padding=PADDING_DEFAULT)
All occurrences
Please wait...
Page is in error, reload to recover