Has anyone benchmarked ncryptsec decryption on memory limited devices? Is it even possible to do with a non trivial LOG_N?

Reply to this note

Please Login to reply.

Discussion

No benchmaks but logn > 18 crashes any android app since it has a memory limit for apks

18 crashes by default and you need to add a flag to your android manifest

Also it was less than 1 sec for encrypt in the emulator but now on my pixel 6a its taking a lot longer

Using logn 16

Thanks. Looking at the memory usage table in the nip49 spec, the number of rounds would be so low on a microcontroller with 520kb of total memory that's it's basically pointless to use. However, encryption with a good password still serves a purpose I guess it just has to be exported with a low enough LOG_N.