quello non so bene come venga calcolato... lo puoi forse creare da uno dei tanti siti che offrono questo servizio, hai provato?
No, il codice fiscale viene prodotto a livello ministeriale. Non puoi inventarlo.
(certo, esiste l'algoritmo base, ma poi è il ministero a verificare che sia unico ed eventualmente a sostituirlo a tavolino)