That tool requires you to use ASCII armored encrypted files. Your example has issues as the encoding on a binary file as displayed in a text-editor is not unique (and the web application doesn't know how to interpret it properly).
The easiest way is to just use the command line with gpg (gpg and PGP are generally compatible when they follow the OpenPGP standard except in a few rare cases). For a complete example, you create a trusted key pair (again for this demo I chose no passphrase on the key) with:
$ gpg --gen-key
gpg (GnuPG) 1.4.20; Copyright (C) 2015 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Please select what kind of key you want:
(1) RSA and RSA (default)
[...]
Your selection? 1
[...]
Key expires at Thu 26 Oct 2017 01:58:43 PM EDT
Is this correct? (y/N) y
[...]
You selected this USER-ID:
"john doe (don't use) <[email protected]>"
[...]
gpg: key DA65E019 marked as ultimately trusted
public and secret key created and signed.
which in my case created a new trusted keypair called DA65E019.
Then I can encrypt a file without ASCII armoring it (basically encrypting in base64 with linebreaks):
$ gpg --encrypt --recipient DA65E019 test.txt
that creates a file called test.txt.gpg
or with ASCII armoring it:
$ gpg --encrypt --armor --recipient DA65E019 test.txt
which creates an ASCII armored file called test.txt.asc
.
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
hIwDLaGCjcd4AvcBA/wLm/sLb5yha7dPIz4288dtgR0a4zdynB+MZ1ikH8aVWi8x
w6aR3DoA5IyOQkg7whC2vWlWHaJLkrSOWYwnvHVSNm/bXVtXkLq9ZLWnvLVjux+E
+GVQDr8nCSdGR04ZfQ741LjDWubUzlZFacIlMuSmvMrfepIcl5i1ydr4UNA9OtJR
Ac0pgzY3odsl8nmcO+v9XmRpekDm8O3TTHAHN5ci1+iqxI6W/VOEHeuan8HW00Hh
E10+X0Sb5cNCNJBtrIE4G06F2JMKt53o4kTULiSPjT8A
=WEJE
-----END PGP MESSAGE-----
I can use your tool to decrypt this message with your online tool, by exporting my secret key:
$ gpg --armor --export-secret-key DA65E019
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1
lQHYBFnw0OUBBADpSAnz6pdZYIy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pwf0aq/dVOY8LOO/pKy
S0pj0zXdpQJ61emGzCLMky4ScI1U9wARAQABAAP7BDZAh4pGd70wG+Ob0VoZy3gx
VnwryuTkumTkWGnK3HQ+cQwcimwdulFTenu2kZMBp4n690BfPgcL6pSdE2KBiglZ
1APeiPuSM5zYyHJBd2qJdB4s9PEWIIpJFR/XchTMy+1OzpsMZ8xF5dkzx8jwt6JG
U1bpzJIHEH89e07BSV0CAMMfOJr9PxtxsHDUcvdObZvwGcRFffuon9m0N0oG/v0B
j2GM/8Z2xM6ICRCDyH1KNgnxwPxOYtN6JgSq0tUY8GUCAOr+3JsUlsXnmw6iOu/4
d6kiTJaZ/f2Rh6St4Sxc/tfDBKT8bNZZdkG67C+cH0gn09aCemLWDWLm+dk+XWKH
5CsB/RXJdJ2G/0J3ZwQ83YqiFFIc9B1cC5b1Ji5u/prjPVeWVBHA1+gTptWiYgZi
PAugw5HilG4ec9egBJdVGGPPCQ+jNoilBBgBAgAPBQJZ8NDlAhsMBQkAAVGAAAoJ
EBD5wEzaZeAZHoMD/j92pvKe1mr8usWzYFecmZx8uyb1WouxqP+UeEQtry0+IfNJ
Qmlo5UbxYvn5KPg1WIcMOAXlDpm0neBuG/FCIhuUbXq4JVxV5tKJYw2I+Px6jiCD
HivTQ+/NgZdVMcB8k9PqyA96yVyct18KrDAAQ6l8xqzzxXefJRbUaqj8usG7
=yKJT
-----END PGP PRIVATE KEY BLOCK-----
or directly decrypt the binary file test.txt.gpg
with gpg in the commandline:
$ gpg --decrypt test.txt.gpg
gpg: encrypted with 1024-bit RSA key, ID C77802F7, created 2017-10-25
"john doe (don't use) <[email protected]>"
this is a file
In your example, you'll have to import the private key:
$ gpg --allow-secret-key-import --import secret_key.gpg.asc
and then should be have the private key and can use it for decryption.