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 103 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 ) );
      }

 

Link to comment
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...