Creates new spec to allow user with custom encryption