Storing a jpeg on an stm32

I need to store 3 jpegs onto a stm32. How would i go about storing a jpeg on it and encrypting it?

Welcome

I have no experience with STM processors.

If your jpegs are fixed, you can store them in the flash of the microcontroller as part of the code; it obviously depends on size.

Where will encryption come in? Do you need to transfer them?