| 1234567891011121314151617181920 |
- package route
- import (
- "encoding/json"
- "opennamu/route/tool"
- )
- func Api_func_sha224(call_arg []string) string {
- other_set := map[string]string{}
- json.Unmarshal([]byte(call_arg[0]), &other_set)
- hash_str := tool.Sha224(other_set["data"])
- new_data := map[string]string{}
- new_data["data"] = hash_str
- json_data, _ := json.Marshal(new_data)
- return string(json_data)
- }
|