Raspberry pi pico AES encrypt - Java decrypt

I'm not so sure you can find librarys for Raspbery on Arduino. As far as I know, in contrast to the ESP32 or ESP8266, the Raspbery cannot be programmed with the Arduino IDE. Maybe you'd better look around a Raspbery forum about your problem?