panics when crypt package has not been imported