MCPcopy Create free account
hub / github.com/MearaY/StegaPy / get_max_header_size

Method get_max_header_size

StegaPy/plugin/lsb/lsb_data_header.py:170–176  ·  view source on GitHub ↗

获取最大数据头大小

()

Source from the content-addressed store, hash-verified

168
169 @staticmethod
170 def get_max_header_size():
171 """获取最大数据头大小"""
172 return (len(LSBDataHeader.DATA_STAMP) +
173 len(LSBDataHeader.HEADER_VERSION) +
174 LSBDataHeader.FIXED_HEADER_LENGTH +
175 LSBDataHeader.CRYPT_ALGO_LENGTH +
176 LSBDataHeader.MAX_FILENAME_LENGTH)
177
178 def get_header_size(self):
179 """获取当前数据头的实际大小"""

Callers 2

embed_dataMethod · 0.80
embed_dataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected