sha512 static method
SHA512 哈希
计算字符串的 SHA512 哈希值
@param data 要哈希的数据 @return SHA512 哈希值(十六进制字符串) @example
final hash = WSecret.sha512('Hello World');
print(hash); // 输出: 309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f
Implementation
static String sha512(String data) {
return WHash.sha512(data);
}