Custom Random Functions : New Inspiring Techniques

You may have already used rand() at some point. Have you ever wondered how it works? or how you can create yours ?