method decrypt is added.