def test_decode_aes256_ecb_base64_decodes_a_short_string(self): self.assertEqual(Parser.decode_aes256_ecb_base64( '8mHxIA8rul6eq72a/Gq2iw==', self.encryption_key), '0123456789')
def test_decode_aes256_ecb_base64_decodes_a_long_string(self): self.assertEqual(Parser.decode_aes256_ecb_base64( 'BNhd3Q3ZVODxk9c0C788NUPTIfYnZuxXfkghtMJ8jVM=', self.encryption_key), 'All your base are belong to us')
def test_decode_aes256_ecb_base64_decodes_a_blank_string(self): self.assertEqual(Parser.decode_aes256_ecb_base64( '', self.encryption_key), '')