add encrypted patches v0.