-
公开(公告)号:GB2601906A
公开(公告)日:2022-06-15
申请号:GB202116629
申请日:2021-11-18
Applicant: IBM
Inventor: GLEN ALAN JAQUETTE , WILLIAM J SCALES , DANNY HARNIK
Abstract: A method of compressing and protecting data, wherein after compression 914 of an uncompressed instance of data 904 it is determined that the compressed data 902 has size less than a predetermined threshold, and the data is encrypted 906 in response to this. A message authentication code (MAC) 916 is created for the encrypted data 908 and the MAC and a zero pad 912 are added to the data to create a formatted string. The uncompressed data may include plaintext, and the compressed data may be abandoned if its size is greater than the predetermined threshold. The length of a length field, the encrypted compressed data, the zero pad and the MAC may be equal to the length of the uncompressed data, i.e. the method may provide length preserving compression (LPC). The MAC may include a Galois message authentication code (GMAC), and may be used to verify the data integrity and authenticity of the formatted string.