Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Regular Coder sonny's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Posts
    567
    Thanks
    88
    Thanked 0 Times in 0 Posts

    Encript with php, decrypt within windows without php?

    Hi, looking for advice, I would like too encrypt a few generated files on line, got that part
    working wondering if anyone knows of a windows program that can decrypt them, when
    down loaded I'm open to change or modify my php decryption method if I have too. I'm
    just trying to protect some important data from prying eyes, I'm also looking into the best
    way of protecting my email being sent by php mail to me as well.

    Thanks
    Sonny

    Hope everyone has a great New Year!, I appropriate all the help this forum gave me during
    2012 especially' you guys know who you are, I just wanted to take a moment and thank all of
    you!!!. you taught me so much, sometimes I sit back in amazement with all the things I can
    do know.

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,301
    Thanks
    57
    Thanked 525 Times in 512 Posts
    Blog Entries
    5
    That depends on what encryption you are actually using?
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • #3
    Regular Coder Redcoder's Avatar
    Join Date
    May 2012
    Location
    /dev/null
    Posts
    333
    Thanks
    2
    Thanked 47 Times in 46 Posts
    Depends on the Algorithm used mate. Your PHP prgram has to use the same algorithm as the Windows program.

    To prevent prying and such...that is when the data is in transit(not when already in the server and you don't want tech guys to check that is has arrived in the server), use SSL encrypted GMAIL servers.

    Check out this example that uses the Gmail servers to send the email.

    http://www.vishalkumar.in/2009/06/ph...smtp-tutorial/


    Happy Holidays Brogrammer!

  • #4
    Regular Coder sonny's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Posts
    567
    Thanks
    88
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Redcoder View Post
    Depends on the Algorithm used mate. Your PHP prgram has to use the same algorithm as the Windows program.

    To prevent prying and such...that is when the data is in transit(not when already in the server and you don't want tech guys to check that is has arrived in the server), use SSL encrypted GMAIL servers.

    Check out this example that uses the Gmail servers to send the email.

    http://www.vishalkumar.in/2009/06/ph...smtp-tutorial/


    Happy Holidays Brogrammer!
    I'm using php's encrypt and decrypt that's all
    I would like to be able too decrypt a file with
    my laptop without installing an Apache server on it?

    I am talking about important files that may sit on
    the server, I always use SSL that's not my concern.

    I thought maybe there was a light weight window
    program out there, that can decrypt that. if anyone
    knows of a better way to do this then what I am trying
    please let me know.

    Thanks
    Sonny

    UPDATE
    I got the email problem fixed at least by using PGP, don't
    know why I never did this before.
    Last edited by sonny; 12-27-2012 at 09:58 PM.

  • #5
    Regular Coder Redcoder's Avatar
    Join Date
    May 2012
    Location
    /dev/null
    Posts
    333
    Thanks
    2
    Thanked 47 Times in 46 Posts
    PHP encrypt uses MCrypt so this might be able to help you.

    http://heanet.dl.sourceforge.net/pro....6.7-win32.zip

  • #6
    Regular Coder sonny's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Posts
    567
    Thanks
    88
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Redcoder View Post
    PHP encrypt uses MCrypt so this might be able to help you.

    http://heanet.dl.sourceforge.net/pro....6.7-win32.zip
    How does that work? when I run it just closes itself, how do I select a file?

    Thanks
    Sonny

  • #7
    Regular Coder Redcoder's Avatar
    Join Date
    May 2012
    Location
    /dev/null
    Posts
    333
    Thanks
    2
    Thanked 47 Times in 46 Posts
    Ah. Sorry. I have no idea how MCrypt is used on Windows. Use Linux or Cygwin which will help ou achieve almost similar Unix functionality. Sorry I couldn't help.

  • #8
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,642
    Thanks
    2
    Thanked 405 Times in 397 Posts
    Here is an example of how to handle encryption/decryption with PHP and C#. You'll have to create an application to implement the C# code on windows, or perhaps find one that someone else has already created.

  • #9
    Regular Coder sonny's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Posts
    567
    Thanks
    88
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Inigoesdr View Post
    Here is an example of how to handle encryption/decryption with PHP and C#. You'll have to create an application to implement the C# code on windows, or perhaps find one that someone else has already created.
    sounds like a lot just too decrypt something, Guess I will have to install Apache with php and
    decrypt that way, in the meantime I'll just have to send the files with GPG.

    thought there would be a small window based executable already out there to decrypt php's
    mycrypt, really surprised encrypting visitor sensitive data is not all that popular I guess.

    Ok thanks for the input guys


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •