It's open source, you can check the current algo on github.