Wordpress QR Plugin enhancement (to add Security Features)

Job ID: 32008229

Budget: $30 – $250 USD

** For Wordpress Plugins and Security experts **

We already have a Wordpress plugin that generate a dynamic QR code for each woocommerce order based on these fields (Buyer name, VAT number, Time stamp of the invoice, Invoice total, VAT total, Seller name)

We need to add security features to this plugin as below:

● QR code to be encoded in Base64 format with up to 500 characters **
● The QR code fields shall be encoded in Tag-Length-Value (TLV) format with the tag values specified in the “Tag” column of the adjacent table.
● The TLV encoding shall be as follows:
○ Tag: the tag value as mentioned above stored in one byte
[for tags 1 to 5]
○ Length: the length of the byte array resulted from the UTF8 encoding of the field value. The length shall be stored in one byte.
○ Value: the byte array resulting from the UTF8 encoding of the field value.
[for tag 6]
● Length: length of hash (SHA256 ) is 32 bytes
● Value: the byte array constituting the value of the field
● The QR code must also include a Cryptographic Stamp as below

Tag > Field
1 > Seller’s name
2 > VAT number
3 > Time Stamp
4 > Invoice total
5 > VAT Total
6 > Hash of XML invoice
7 > ECDSA signature
8 > ECDSA public key
9 > ECDSA signature of the cryptographic stamp

References:
1-https://github.com/SallaApp/ZATCA
2-https://stackoverflow.com/questions/69530804/how-to-create-and-parse-tag-length-value-tlv-in-php-and-encode-it-in-base64

Please dont post your offer before reading the references, and replay with "I read the references'' of you done.
Related categories: PHP JavaScript WordPress Software Architecture Security