Capitalist Logo

Operation get_token

The operation of obtaining encryption attributes. Return a public exponent, a modulus for RSA password encryption, and a session key.

Query parameters

ParameterValue
operationget_token
login<Username>

Response examples

JSON (recommended format, please set x-response-format=json header)

{
  "code": 0,
  "message": "",
  "data": {
    "token": "35E9F07B324E1B2AADAC9C2829373420F01E47E2BCD17BD12289E1448D41133BDB6DE4B3370E3E951C0596D4613E4ECFBB3BADB68904EF6DA6C6CC55F467568413102703F45E4FF182EBD282977C9F8B93C18343354ECCE4E35E6B1C0D0A36EFE7C7ED5E508934AF521D9000142FC5DD68EABAF9E6B6A2C818FDC2334E5895BD",
    "modulus": "a3faa98a87c009599edd3caafd3e5019ade263d6602a1d248e1b8ff832f07395ff094855277902ff3d61f3b4d1c0e313e3d9d591a7aaf50813e9f1a90e25e4ab3c6d5d743abca08be425d02335be3a9cab60f60aefca6ab4fd6ada3aabf7731665d0eb6b27afc633f2cb101a45e0ef2ec8a5d889b1bfde5d2812911fb0ee8493",
    "exponent": "10001",
    "rsa_public_key_pkcs1_pem": ""
  }
}
Cookies
We use cookies and anonymous statistics to make our website even better