New algorithm for mapping generation.
Update get_secret.py to use new format.