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. The Lounge
  3. Not quite got the point

Not quite got the point

Scheduled Pinned Locked Moved The Lounge
com
12 Posts 9 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.
  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

    :laugh: :laugh: :laugh: :laugh: :laugh: At this very moment I'm writing code, that uses MD5 (as request from 3rd party) to communicate secret info...

    Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

    D Offline
    D Offline
    dan sh
    wrote on last edited by
    #3

    I also did that once, nobody liked it. Here is the method I used:

    public string SendSecretInfo(){
    return "MD5 (add salt to taste)";
    }

    "It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[^]

    1 Reply Last reply
    0
    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

      :laugh: :laugh: :laugh: :laugh: :laugh: At this very moment I'm writing code, that uses MD5 (as request from 3rd party) to communicate secret info...

      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #4

      I'm having breakfast just now. Shall I look for the secret decoder ring in the cereal box?

      The language is JavaScript. that of Mordor, which I will not utter here
      This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
      "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

      1 Reply Last reply
      0
      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

        :laugh: :laugh: :laugh: :laugh: :laugh: At this very moment I'm writing code, that uses MD5 (as request from 3rd party) to communicate secret info...

        Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

        Sander RosselS Offline
        Sander RosselS Offline
        Sander Rossel
        wrote on last edited by
        #5

        So tell us the secret info. We'll find out if you don't tell us anyway ;p

        Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

        1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          Commit strip OTD: SHA1 Collision[^] Oh dear, oh dear, oh dear ...

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

          M Offline
          M Offline
          megaadam
          wrote on last edited by
          #6

          If your hash keys are longer than 32 bits you obviously don't care about performance.

          ... such stuff as dreams are made on

          OriginalGriffO 1 Reply Last reply
          0
          • M megaadam

            If your hash keys are longer than 32 bits you obviously don't care about performance.

            ... such stuff as dreams are made on

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #7

            64 bit machine: 32bit hashes just waste memory accesses! :laugh:

            Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            M 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              64 bit machine: 32bit hashes just waste memory accesses! :laugh:

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

              M Offline
              M Offline
              megaadam
              wrote on last edited by
              #8

              So, Mr. Fancy-Pants has got one of those modern PCs. I bet it is portable as well!

              ... such stuff as dreams are made on

              OriginalGriffO 1 Reply Last reply
              0
              • M megaadam

                So, Mr. Fancy-Pants has got one of those modern PCs. I bet it is portable as well!

                ... such stuff as dreams are made on

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #9

                Nah, it don't 'ave no 'andle. The WookieTab is though. :-D

                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                M 1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  Commit strip OTD: SHA1 Collision[^] Oh dear, oh dear, oh dear ...

                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                  U Offline
                  U Offline
                  User 12831244
                  wrote on last edited by
                  #10

                  ROT13 is enough for anybody :-)

                  1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Nah, it don't 'ave no 'andle. The WookieTab is though. :-D

                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                    M Offline
                    M Offline
                    Mark_Wallace
                    wrote on last edited by
                    #11

                    Well, mine has sixty-odd thousand ports! So there!

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      Commit strip OTD: SHA1 Collision[^] Oh dear, oh dear, oh dear ...

                      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #12

                      I like GUIDs as IDs. GUIDs are 128 bits. With a 128-bit hash algorithm, I can make GUIDs from whatever arbitrary (string) values I may have (not user input or file content). And if I can do that within the database (SQL Server), then so much the better. Does SQL Server support any unbroken 128-bit hash algorithms? CAST(HASHBYTES('MD5',@Value) AS UNIQUEIDENTIFIER) Or, would prefer that I generate a 256-bit hash and throw out half the bits? How is that any better?

                      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