Overview

This document defines APIs of the GEODNET RTK service, including User Management and Base Station Coverage.

circle-check

Encryption parameter

Parameter
Type
Description

appId

String

Application ID

appKey

String

Application Key

circle-check

Encryption method

  1. Sort the keys of all request parameters in ascending character order, excluding appKey and sign.

  2. Concatenate the corresponding values by that key order to a single string.

  3. Concatenate the string with appKey (append).

  4. Compute MD5 hash of the final string to produce the sign value (hex lowercase).

# pseudo
ordered_keys = sort(keys(params - {sign}))
concat_values = ''.join(str(params[k]) for k in ordered_keys)
payload = concat_values + appKey
sign = md5_hex(payload)
triangle-exclamation

Encryption example

Example parameter

Request parameters

Parameter
Example
Type
Required
Description

appId

geodnet

String

Y

Application ID

username

geoduser

String

Y

username

password

geodpass

String

Y

password

trialDays

7

Number

Y

Free trial days

time

1718150400000

Number

Y

Current server timestamp in milliseconds

sign

8dd687e158219da6ccc689aef6c0a6a1

String

Y

Encrypted signature

Steps

  1. Parameter ordering (excluding sign)

  1. Field value concatenation

  1. Concat with appKey

  1. Generate sign

Implementation hints

Last updated