A New Sampling Protocol and Applications to Basing Cryptographic Primitives on the Hardness of NP | IEEE Conference Publication | IEEE Xplore