Jump to content

Authentication for LSL scripts & the web servers they talk to


CmpZ
 Share

You are about to reply to a thread that has been inactive for 931 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I adapted HMAC to LSL so scripts & web servers can authenticate each other.

The real write-up is http://cybertiggyr.com/fakemac.html

but here's the LSL

      string
      Fake_MAC( string secret, string message ) {
          string o_pad;
          string i_pad;

          o_pad = llSHA1String( secret + "ooo" );
          i_pad = llSHA1String( secret + "iii" );
          return llSHA1String( o_pad + llSHA1String( i_pad + message ) );
      }

 

  • Like 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 931 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...