library: hash/{crc32, adler32}

This commit is contained in:
xushiwei
2024-07-30 19:36:36 +08:00
parent 3212f059ff
commit 1eaf124d4e
6 changed files with 161 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
package main
import (
"fmt"
"github.com/goplus/llgo/c/zlib"
)
func main() {
fmt.Printf("%08x\n", zlib.Crc32ZString(0, "Hello world"))
}