alan-turing-institute / uicc_identity_toolbox

A framework of Java Card applets for enhancing the trustworthiness of DigitalID systems using low-cost basic and feature phone devices.
MIT License
8 stars 1 forks source link

Create QR code on SIM #9

Open hkscy opened 3 years ago

hkscy commented 3 years ago

e.g., replicate hosts/convert_image.py using Java Card API

hkscy commented 3 years ago

I'm tackling this at the moment, as a starting point I am using the code-golfed QR code implementation here:

https://codegolf.stackexchange.com/questions/19970/qr-codes-and-all-that-jazz

and converting it to Java and then Javacard.

hkscy commented 3 years ago

Current progress is as far as getting the position marks to appear and an implementation of np.rot90 and .T (transpose) for Javacard/Java using only shorts and static arrays

If you want to take a look what this looks like mid-progress: QRencoder.java.zip