16 lines
443 B
Go
16 lines
443 B
Go
package starcrypto
|
|
|
|
import "b612.me/starcrypto/hashx"
|
|
|
|
func SumAll(data []byte, method []string) (map[string][]byte, error) {
|
|
return hashx.SumAll(data, method)
|
|
}
|
|
|
|
func FileSum(filepath, method string, shell func(float64)) (string, error) {
|
|
return hashx.FileSum(filepath, method, shell)
|
|
}
|
|
|
|
func FileSumAll(filepath string, method []string, shell func(float64)) (map[string]string, error) {
|
|
return hashx.FileSumAll(filepath, method, shell)
|
|
}
|