You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
542 B

  1. go-x11
  2. ======
  3. Implements the x11 hash and required functions in go.
  4. Usage
  5. -----
  6. ```go
  7. package main
  8. import (
  9. "fmt"
  10. "gitlab.com/nitya-sattva/go-x11"
  11. )
  12. func main() {
  13. hs, out := x11.New(), [32]byte{}
  14. hs.Hash([]byte("DASH"), out[:])
  15. fmt.Printf("%x \n", out[:])
  16. }
  17. ```
  18. Notes
  19. -----
  20. Echo, Simd and Shavite do not have 100% test coverage, a full test on these
  21. requires the test to hash a blob of bytes that is several gigabytes large.
  22. License
  23. -------
  24. go-x11 is licensed under the [copyfree](http://copyfree.org) ISC license.