Updated encryption