Encryption using PHP with Nothing Special Compiled In

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David T. Ashley

    Encryption using PHP with Nothing Special Compiled In

    I have plain vanilla PHP (bcmath is the only thing special I'm aware of). I
    don't have mcrypt compiled in.

    Are there any functions that can be used for reversible encryption?

    (I have thought about how I would choose the key -- that isn't an issue.)

    I'm only interested in [reversibly] encrypting a 192-bit AES key that will
    be stored in a database. I'm not interested in encrypting large amounts of
    data.

    --
    David T. Ashley (dta@e3ft.com)
    http://www.e3ft.com (Consulting Home Page)
    http://www.dtashley.com (Personal Home Page)
    http://gpl.e3ft.com (GPL Publications and Projects)


  • shimmyshack

    #2
    Re: Encryption using PHP with Nothing Special Compiled In

    On Jun 7, 8:06 pm, "David T. Ashley" <d...@e3ft.comw rote:
    I have plain vanilla PHP (bcmath is the only thing special I'm aware of). I
    don't have mcrypt compiled in.
    >
    Are there any functions that can be used for reversible encryption?
    >
    (I have thought about how I would choose the key -- that isn't an issue.)
    >
    I'm only interested in [reversibly] encrypting a 192-bit AES key that will
    be stored in a database. I'm not interested in encrypting large amounts of
    data.
    >
    --
    David T. Ashley (d...@e3ft.com)http://www.e3ft.com (Consulting Home Page)http://www.dtashley.com (Personal Home Page)http://gpl.e3ft.com (GPL Publications and Projects)
    have you got openssl?

    Comment

    • Alvaro G. Vicario

      #3
      Re: Encryption using PHP with Nothing Special Compiled In

      *** David T. Ashley escribió/wrote (Thu, 7 Jun 2007 15:06:27 -0400):
      I have plain vanilla PHP (bcmath is the only thing special I'm aware of). I
      don't have mcrypt compiled in.
      >
      Are there any functions that can be used for reversible encryption?
      I once checked some classes written in pure PHP that implement blowfish
      algorithm. I can't remember the exact names but one of them was pcrypt:



      I'm not an encryption guru but pcrypt seemed to work fine.



      --
      -+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
      ++ Mi sitio sobre programación web: http://bits.demogracia.com
      +- Mi web de humor con rayos UVA: http://www.demogracia.com
      --

      Comment

      Working...