Mcrypt - problem encrypting special characters

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • neil@invidion.co.uk

    Mcrypt - problem encrypting special characters

    Hi,

    I'm not sure whether this is a known or documented issue (I could'nt
    turn anything up, but maybe I'm not looking hard enough), but I seem to
    be have a problem encrypting and decrypting entries with special
    characters - namely the '@' symbol.

    For example I can encrypt and decrypt a name or an address - however,
    if I try this with an email address that contains the '@' symbol, such
    as:

    nobody@nobody.c om

    what I get when I decrypt this is:

    n

    Just the first letter of the entry.

    I have been using the GOST cipher, so I'm wondering if it is related to
    this cipher, or whether there is a problem with special characters in
    general.


    Thanks
    Neil.

  • Jerry Stuckle

    #2
    Re: Mcrypt - problem encrypting special characters

    neil@invidion.c o.uk wrote:[color=blue]
    > Hi,
    >
    > I'm not sure whether this is a known or documented issue (I could'nt
    > turn anything up, but maybe I'm not looking hard enough), but I seem to
    > be have a problem encrypting and decrypting entries with special
    > characters - namely the '@' symbol.
    >
    > For example I can encrypt and decrypt a name or an address - however,
    > if I try this with an email address that contains the '@' symbol, such
    > as:
    >
    > nobody@nobody.c om
    >
    > what I get when I decrypt this is:
    >
    > n
    >
    > Just the first letter of the entry.
    >
    > I have been using the GOST cipher, so I'm wondering if it is related to
    > this cipher, or whether there is a problem with special characters in
    > general.
    >
    >
    > Thanks
    > Neil.
    >[/color]

    Never used that one, Neil. Where did you get the script? Did you try asking there?

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • neil@invidion.co.uk

      #3
      Re: Mcrypt - problem encrypting special characters

      This is not a third-party script - I'm just using the inbuilt PHP
      functions and supported ciphers.

      Comment

      • Jerry Stuckle

        #4
        Re: Mcrypt - problem encrypting special characters

        neil@invidion.c o.uk wrote:[color=blue]
        > This is not a third-party script - I'm just using the inbuilt PHP
        > functions and supported ciphers.
        >[/color]

        OK, I haven't use the GOST cipher before, but haven't had any problems with the
        encryption/decryption functions.

        Can you post your code?

        Also - in this group, please copy the relevant parts of the message you're
        replying to. Quite a few of us use a real news reader, not google groups.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        Working...