Memory and SQL encrypted store