Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. php and VC++ compatible encryption algorithm???help please

php and VC++ compatible encryption algorithm???help please

Scheduled Pinned Locked Moved C / C++ / MFC
c++phpalgorithmssecuritytools
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xxhimanshu
    wrote on last edited by
    #1

    :confused:Hi All, I need to decrypt a file encrypted by a php script..it can be any algorithm which is good enough and cannot be cracked easily..if it cannot be cracked at all will be the best solution..but for now i am just looking for any of the MCrypt encryption algorithm that can encrypt the data good enough not to be cracked..easily...and that can be decrypted easily using VC++...can someone help me out in doing the same..I need it very urgently...any of the algorithm..Rijndael..or Blowfish or anyone..but it can also be decrypted easily..Any help or pointers are highly appreciated... Thanks a lot.. Regards :confused: :confused: Himanshu

    B G 2 Replies Last reply
    0
    • X xxhimanshu

      :confused:Hi All, I need to decrypt a file encrypted by a php script..it can be any algorithm which is good enough and cannot be cracked easily..if it cannot be cracked at all will be the best solution..but for now i am just looking for any of the MCrypt encryption algorithm that can encrypt the data good enough not to be cracked..easily...and that can be decrypted easily using VC++...can someone help me out in doing the same..I need it very urgently...any of the algorithm..Rijndael..or Blowfish or anyone..but it can also be decrypted easily..Any help or pointers are highly appreciated... Thanks a lot.. Regards :confused: :confused: Himanshu

      B Offline
      B Offline
      BaldwinMartin
      wrote on last edited by
      #2

      Have you tried md5() ? I know of at least 2 VC 6.0 classes that can work with the hash. But that is not the same as true encryption. I wrote one called blackhorse a few years back. If you want to use please email direct. Best Wishes, ez_way

      G 1 Reply Last reply
      0
      • X xxhimanshu

        :confused:Hi All, I need to decrypt a file encrypted by a php script..it can be any algorithm which is good enough and cannot be cracked easily..if it cannot be cracked at all will be the best solution..but for now i am just looking for any of the MCrypt encryption algorithm that can encrypt the data good enough not to be cracked..easily...and that can be decrypted easily using VC++...can someone help me out in doing the same..I need it very urgently...any of the algorithm..Rijndael..or Blowfish or anyone..but it can also be decrypted easily..Any help or pointers are highly appreciated... Thanks a lot.. Regards :confused: :confused: Himanshu

        G Offline
        G Offline
        geo_m
        wrote on last edited by
        #3

        you have plenty of algorithms - you named few of them Blowfish, RC4, 3DES... choice is up to you - most of these algos are proven and verified by time. If you have enough CPU time you can consider using asymetric cryptography. None of the mentioned algos was cracked if it was used with reasonable key size. Only problem you'll probably have is the key management ;-)

        1 Reply Last reply
        0
        • B BaldwinMartin

          Have you tried md5() ? I know of at least 2 VC 6.0 classes that can work with the hash. But that is not the same as true encryption. I wrote one called blackhorse a few years back. If you want to use please email direct. Best Wishes, ez_way

          G Offline
          G Offline
          geo_m
          wrote on last edited by
          #4

          Just for clarifying, not to be offensive - if you 'encrypt it' with md5 you'll not able to get the plaintext back from the 'ciphertext'. That's why md5 is called one-way. There's no way back.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups