Slashdot Mirror


New Encryption Algorithm

An AC sends "BLiND is a brand new encryption algorithm which is fast, and very easy to implement. Check it out at freshmeat. This is... well... good for a laugh at least." Unfortunately you'll have to download the source and take a look at enc.c to get the joke. I think Lotus uses this level of encryption in some of their products...

4 of 10 comments (clear)

  1. Wrong name.... by scotpurl · · Score: 2

    They shoulda named it BLoNDe.

    And, no, the Lotus security doesn't suck that much.

  2. BLiND in 2 lines of perl by emag · · Score: 2

    I'm too lazy to translate this into 2 lines or less of perl. Maybe someone wants to do so, just for the possible karma?

    Seems tr(1) would suffice, too...

    <sigh>

    --
    It's pretty pathetic when karma can drop when you do nothing

    --
    "The urge to save humanity is almost always a false front for the urge to rule." --H.L. Mencken
    1. Re:BLiND in 2 lines of perl by waynem77 · · Score: 2

      Alright, I'll bite.

      $from = "a-z A-Z1-90~\\`!\@#\$\%^\&*()_\\-+={[}]:;\\\"\\',<.>?\ \/|";
      $to = "~\\`!\@#\$\%^\&*()_\\-+={[}]:;\\\"\\'<, |.?\\/1-90a-ln-zA-H" . chr(241) . "I-Z~";
      while (<>) { eval "tr/$from/$to/"; print }

      Notice how both "a" and "|" get mapped to "~", and nothing gets mapped to "m" or ">". Interesting... I think I'm missing one or two more, as well.

      (I wish Slash let me use <PRE&gt. This formatting sucks.)

    2. Re:BLiND in 2 lines of perl by emag · · Score: 2

      eval "tr/$from/$to/";

      Ick. Why eval tr when you could use the built-in tr/// (or the equivalent, 1-letter-less y///)?

      (I just wish slashcode would allow <code> for things like this)
      --
      It's pretty pathetic when karma can drop when you do nothing

      --
      "The urge to save humanity is almost always a false front for the urge to rule." --H.L. Mencken