How to back up and restore personal data safely from possibly exploited android phone?

I’m using a Samsung J7 Prime with Android version 7.0, not rooted.
Recently, I grew suspicious I had become the target of some kind of exploit/network attack/mitm. Since I suspect the exploit is probably running on the OS/fir… Continue reading How to back up and restore personal data safely from possibly exploited android phone?

AEAD and nonces explained in layman’s terms (Symmetric encryption example using Libsodium)

After almost 4 days of work, I’ve finally gotten Libsodium crypto_aead_xchacha20poly1305_ietf_encrypt to work and produce the same result in JavaScript and PHP.

But I’m confused.

The PHPDoc describes the parameters as:

* @… Continue reading AEAD and nonces explained in layman’s terms (Symmetric encryption example using Libsodium)