changed some encryption stuff