It returns current encryption type if called without param.