This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# "Vanity" keygen for Wireguard | |
# Example usage: ./vanity-genkey '^CPT/|^HRE/|^EDI/' | |
# Or on a multi core machine ./vanity-genkey '^CPT/|^HRE/|^EDI/' >> keys & | |
# Spawn as many as your computer can deal with. | |
# Adding -i to the grep will speed things up at the expense of readability |