go-crypt
go-crypt copied to clipboard
Golang wrappers for glibc crypt(3)
Since there is no bounds checking on the `strlen(enc)` there's no point in using `strncpy`. Therefore, the minimal fix is to simply use `strcpy`. This has been tested and works...
I want to run this program on old linux operating systems. I got this error: /lib/x86_64-linux-gnu/libcrypt.so.1: version `XCRYPT_2.0' not found is it possible to link this library in the binary...
According to [the docs](https://golang.org/cmd/cgo/): > Any C function (even void functions) may be called in a multiple assignment context to retrieve both the return value (if any) and the C...
Specify `github/amoghe/go-crypt` as the path for this module. Also riding on this patch- remove the version API as part of new API version.