add encrypted patches v1.