generateNonce function
生成32位唯一字符串
Implementation
String generateNonce() {
int timestamp = getTimeStamp();
int randomNumber = generateRandomNumber(6);
return '$timestamp$randomNumber'.md5() ?? '';
}
生成32位唯一字符串
String generateNonce() {
int timestamp = getTimeStamp();
int randomNumber = generateRandomNumber(6);
return '$timestamp$randomNumber'.md5() ?? '';
}