SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2006
    Posts
    182
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Generating Diffie Hellman key pairs

    I'm trying to integrate a FirstData gift card balance finder into a website, but the documentation is very basic, and their encryption scheme sounds convoluted.

    How the heck to I generate a diffie hellman private key from a specified parameter file in PHP? There's openssl_ dh_ compute_ key, but I think it's only available in nightly builds. Anyone have to deal with this system before?

  2. #2
    Twitter: @AnthonySterling silver trophy AnthonySterling's Avatar
    Join Date
    Apr 2008
    Location
    North-East, UK.
    Posts
    6,111
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    PEAR has a Diffie-Hellman Key Exchange implementation.

    Maybe?
    @AnthonySterling: I'm a PHP developer, a consultant for oopnorth.com and the organiser of @phpne, a PHP User Group covering the North-East of England.

  3. #3
    SitePoint Zealot
    Join Date
    Dec 2006
    Posts
    182
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, that's perfect, thanks!

  4. #4
    SitePoint Member
    Join Date
    Feb 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    I have same problem with First Data's Gift card integration.
    Did you find any solution for their encryption part ?
    If so, can you please help me?


Bookmarks

Posting Permissions

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