software protection of data with closed and public key