encypted key passing handled