He has set both private key and public key to value 255. ... Public key is actually calculated by (g ^ private) mod p ... Alice would not be able to decrypt the message. ... BTW: 10 is not a generator over 307