Using decrypt/encrypt instead of repeating the math