Create authenticate.php

If a peer wants to access the protected file (and thus its owner identity), he must provide his identity, the encrypted id of the file's owner and the hash of that file.