Locking something behind “some random rolls” is the heart of this game.
Want to know your enemies’ weaknesses? Invest in skills to mitigate the randomness.
Or I could open the chat log and do some quickmaths to figure out that the creature probably has X AC, because rolling X hit but rolling X-1 didn't. Without investing into skills. Like people do when they play 5e.
Or I could notice that I rolled X on my firebolt but it only did 1/2*X damage and figure out that the creature is resistant to fire.
At that point I am just doing the calculations in my head. Why not just tell that upfront? Or at least after your first hit.