To make a bar code for payment

I took a look at the payment bar codes of Alipay and Wechat. They are both in the format of 4-4-4-6 (the first two bits remain unchanged) and can be generated offline. They should be time-stamped and then encrypted. Is there any algorithm for writing encryption and decryption with java?

Mar.12,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaf46e-2242.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaf46e-2242.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?