Encrypted ASP code can be done using components like ASPEncrypt.
I have heard that performance will not be as much as an unencrypted one.
Also, there is some encoding standards to save your code from prying eyes.
But, I must inform you that decoding a base64 text is a child's play for an expert.
Your encoded ASP will be understood by IIS very well.