Have you posted the module somewhere accessible?
I2C or SPI and an expander ? Endless pins... with i2c even read.
I would like to port it to STM32F405, should be an easy task but there is too many place with #define ... will try compiling as a PICO and change only linker file and mem.
@Stevie, Would you mind to share your C library?
Sure blowfish is one of the strongest algorithms but it is a heavy resource consuming too and don't know if it is really useful for this kind of use.
May be..., As I see both implementations are very easy to try, I suppose we can do both as a module.
If you like it, you could take a look to this js implementation http://www.movable-type.co.uk/scripts/tea.html
A simple but effective message encryption could be http://en.wikipedia.org/wiki/XTEA it is lightweight and should be fast enough.
© Espruino, powered by microcosm.
Report a problem