The file main.go once compiled will encrypts all files in the same directory and show a ransom message, requesting financial amount of 1,000 USD for user to obtain the key. Once the user provides the correct key, it decrypts those files, otherwise they would stay encrypted.