compress raw private key