decrypt for merge