crypt function

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Raj

    crypt function

    Hi,

    What mysql datatype do I need to use for:

    a) crypt on PHP
    b) crypt on on mysql

    Thanks in advance,

    Raj
  • Savut

    #2
    Re: crypt function

    varchar

    Savut


    "Raj" <raj@nospam.com > wrote in message
    news:6an2e05jdq 5corn68rj0j5i4o uq8t0pg9v@4ax.c om...[color=blue]
    > Hi,
    >
    > What mysql datatype do I need to use for:
    >
    > a) crypt on PHP
    > b) crypt on on mysql
    >
    > Thanks in advance,
    >
    > Raj[/color]

    Comment

    • Raj

      #3
      Re: crypt function

      Yep,

      but varchar(1), varchar(100), ... ?

      Does it depend on something and if so what?

      Raj

      On Tue, 29 Jun 2004 14:34:34 -0400, "Savut" <webki@hotmail. com> wrote:
      [color=blue]
      >varchar
      >
      >Savut
      >http://www.savut.com
      >
      >"Raj" <raj@nospam.com > wrote in message
      >news:6an2e05jd q5corn68rj0j5i4 ouq8t0pg9v@4ax. com...[color=green]
      >> Hi,
      >>
      >> What mysql datatype do I need to use for:
      >>
      >> a) crypt on PHP
      >> b) crypt on on mysql
      >>
      >> Thanks in advance,
      >>
      >> Raj[/color][/color]

      Comment

      • Savut

        #4
        Re: crypt function

        It depend on what encryption crypt use, and this depend on the system php is
        running on and what is available. Just use crypt and echo the length of the
        hashed string.

        Savut


        "Raj" <raj@nospam.com > wrote in message
        news:ojp3e09254 johk7f8ebl19frq e36htmjci@4ax.c om...[color=blue]
        > Yep,
        >
        > but varchar(1), varchar(100), ... ?
        >
        > Does it depend on something and if so what?
        >
        > Raj
        >
        > On Tue, 29 Jun 2004 14:34:34 -0400, "Savut" <webki@hotmail. com> wrote:
        >[color=green]
        >>varchar
        >>
        >>Savut
        >>http://www.savut.com
        >>
        >>"Raj" <raj@nospam.com > wrote in message
        >>news:6an2e05j dq5corn68rj0j5i 4ouq8t0pg9v@4ax .com...[color=darkred]
        >>> Hi,
        >>>
        >>> What mysql datatype do I need to use for:
        >>>
        >>> a) crypt on PHP
        >>> b) crypt on on mysql
        >>>
        >>> Thanks in advance,
        >>>
        >>> Raj[/color][/color]
        >[/color]

        Comment

        Working...