Cleaner implementation of secure electronics