Due to the increasingly complex network attacks and advancements in computational technology, finding new and efficient encryption techniques is an urging task. As a promising material, the application of perovskite luminescent materials in information encryption is limited to pre-planned specific scenarios or applications, lacking the ability to respond to temporary demands. In this work, we have designed a novel cadmium-based zero-dimensional perovskite, TEA2CdCl4, which presents blue luminescence centered at 413 nm originating from organic cations. Upon Sb3+ doping, it not only exhibits intense red emission at 623 nm with a high photoluminescence quantum efficiency up to 100 %, but also brings outstanding resistance to thermal quenching. Especially, an ultrafast response speed could be achieved during decryption process which has been verified by first-principles calculations. Based on the advantages, a large-area optical anti-counterfeiting paper for temporary information encryption transmission is designed, which not only verifies the potential for secure information transmission and protection, but also introduces a new concept for the application of organic–inorganic hybrid perovskites in the field of information encryption.