Implementation and Evaluation on Security Modules for the Edge Computing Platform based on Modular Architecture