Hmmm... don't know about breaking the law but you've certainly broken some of your own confidence by doing this.
I hope you've moved on from this because the more you look back on it, the worse it sounds like you're going to feel. Look at it as something you had to do to survive so you can...