VHDL obfuscator
a script which obfuscates VHDL code!
- Files:
• obf.p
- Examples:
• input file example from here
• obfuscated output file
- What it does
This is something which I was asked to do at Uni, looking at the VHDL obfuscators available online they cost ~$2000 so I decided to make one. The script reads in all the .vhd files in a directory, obfuscates them and then outputs the same named files in a new directory.
- How it works
The script uses a hash table and random string generator to create a variable length string to replace variable names. It also allows for words to be specified to not obfuscate to keep them as they were and allows a hash table to be specified to keep names consistent over multiple runs.
There are usage instructions within the script.