Both parts require access to the JS file, since the PHP never sees the unencrypted values.
Also, the "free" version on the wp2pgpmail site is not the same version that was posted to Pastebin. Your version is 2.4.1, and the free version is 1.4. (This probably doesn't matter, but it does server as a nice FYI, no?)