He told me that I was "a tough cookie to crack." What is this supposed to mean?

I was talking to a guy today that I dated not that long ago and things just got complicated and we haven't been talking to each other very often. He told me that I was "a tough cookie to crack" It may be obvious but, what the hell is that supposed to mean? Cause I have no idea.
He told me that I was "a tough cookie to crack." What is this supposed to mean?
Post Opinion