original_string: private static function getssotoken_raw($username, $shareid, $sharedsecret) {
          $time = time() . '000';
          return urlencode($username)
              . ':'
              . $shareid
              . ':'
              . $time
              . ':'
              . base64_encode(pack('H*', md5($username . $shareid . $time . $sharedsecret)));
      }
code: private static function getssotoken_raw($username, $shareid, $sharedsecret) {
          $time = time() . '000';
          return urlencode($username)
              . ':'
              . $shareid
              . ':'
              . $time
              . ':'
              . base64_encode(pack('H*', md5($username . $shareid . $time . $sharedsecret)));
      }
code_tokens: private static function getssotoken_raw ( $ username , $ shareid , $ sharedsecret ) { $ time = time ( ) . '000' ; return urlencode ( $ username ) . ':' . $ shareid . ':' . $ time . ':' . base64_encode ( pack ( 'H*' , md5 ( $ username . $ shareid . $ time . $ sharedsecret ) ) ) ; }
docstring: Generate equella token
  
  @param string $username
  @param string $shareid
  @param string $sharedsecret
  @return string
docstring_tokens: Generate equella token