working on encryption db