Company: Zscalar_2march
Difficulty: medium
Encryption Validity Test Problem Description Encryption is the process of converting information algorithmically so that only a valid recipient can read it. A message encrypted before its validity period expires is not secure. This is its validity period. An attacker has a limited processing power. To decrypt a message, the number of keys a hijacker can test per second is the instruction count. The size of the message is the number of keys divided by the instruction count. The average time to find a key is very high. To achieve a balance between the time required for encryption/decryption and the strength of the encryption, the validity period of the message must be taken into consideration. Given the number of keys, a hijacker can test per second, determine if the encrypted information should remain confidential throughout its validity period. Each test will return two items of information as integers: Can a hijacker crack the code within the period? (1 if true, 0 if false) The streng