Plugin Development

How can i develop a go Workflow plugin, i want implement customize encrypted function in workflow process?