Added Encrypt file function

I think it will work, I can't actually compile it on my machine...
.