2024-03-10 13:04:26 +08:00
|
|
|
package starcrypto
|
|
|
|
|
|
2026-03-14 15:39:21 +08:00
|
|
|
import "b612.me/starcrypto/hashx"
|
2024-03-10 13:04:26 +08:00
|
|
|
|
|
|
|
|
func SumAll(data []byte, method []string) (map[string][]byte, error) {
|
2026-03-14 15:39:21 +08:00
|
|
|
return hashx.SumAll(data, method)
|
2024-03-10 13:04:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func FileSum(filepath, method string, shell func(float64)) (string, error) {
|
2026-03-14 15:39:21 +08:00
|
|
|
return hashx.FileSum(filepath, method, shell)
|
2024-03-10 13:04:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func FileSumAll(filepath string, method []string, shell func(float64)) (map[string]string, error) {
|
2026-03-14 15:39:21 +08:00
|
|
|
return hashx.FileSumAll(filepath, method, shell)
|
2024-03-10 13:04:26 +08:00
|
|
|
}
|