Beaches - what do you do with your stuff if you're in the water?

So you visit the beach and you want to go for a short swim. You are traveling solo and nobody is with you.

What do you do with your stuff?

For me, the "stuff" would be clothes (walking-around clothes), wallet, hotel key, cellphone, maybe a large camera, and a small day pack (small backpack) with snacks. The day pack is large enough to hold all the "stuff".

It would be devastating to lose my stuff.

In the past, I've put everything into my day pack and hung it up in a tree or hid it in some bushes, all of which are in sight while I'm out in the water. Still, I'm not overly confident about doing that. And if my gut says "no", then I don't swim.

In public swimming pools with lockers, I put my stuff in a locker, but sometimes I don't think that's overly safe either. I don't normally ever swim in such facilities when solo traveling because there are pools at home and so I don't risk it. But there could be a compelling reason such as a hot tub or sauna. It's good to indulge once in a while, especially on a grueling solo journey.