Added chosen plaintext generator for cube attacks