Can I ask a question? Sorry you may think it's stupid, but can't you keep the secret to yourself, specially if you know that everyone will hate you if they know who you really are.
I've never experienced it, but I know that my best friend did, she told everyone she that she's gay, and she was smiling while she was telling me! She said I don't give a f**k (her words not mine) about what people going to say about me, if they like me then I'll be thrilled but if they don't they can get out of my life, she also said those words to me

I told her I'm happy for you, its good to know who you really are.