Simple script for accessing the contents of an encrypted andOTP backup. As long as Sodium is available this does not require any dependencies outside of PHP.
This was written as a replacement for [asmw/andOTP-decrypt], which I found a little annoying to get going and depends on several external packages. (Hold! Was PHP easier than Python here? Oh my!)
To decrypt and write to a JSON file: