Nagaveni Katari

Nagaveni Katari

  • 1.6k
  • 106
  • 7.3k

generate token by passing private key and jsonstring

May 17 2023 4:50 AM

after generation encrypt the token with SHA1 with RSA using Asp.net C#

private key:"65e365bd06f7f54a5282a63278bb21c2";

json string:{\"UserID\":\"1\",\"UserName\":\"Ayyappa\",\"txnId\":\"123456\",\"customerMob\":\"8569896857\",\"lname\":\"lakshman\",\"name\":\"Balasubbiramani\",\"mname\":\"ram\",\"productCode\":\"DMT\",\"address\":\"Mumbai\",\"dateOfBirth\":\"05/10/1982\",\"agentId\":\"CUSTOMER123456\",\"partnerId\":\"761\",\"kycStatus\":\"0\",\"pancardStatus\":\"0\",\"identityDocType\":\"0\",\"identityDocNo\":\"BgQkkDr14...\",\"channel\":\"4\",\"isOTPValidated\":\"0\",\"hashKey\":\"9f3f9eb0451e8c2e3955551c57458072\"}";


Answers (5)