Affected by GO-2022-0779
and 2 other vulnerabilities
GO-2022-0873 : Control character injection in console output in github.com/ipfs/go-ipfs
GO-2024-2779 : Access Restriction Bypass in go-ipfs in github.com/ipfs/go-ipfs
Discover Packages
github.com/ipfs/go-ipfs
Godeps
_workspace
src
github.com
mtchavez
jenkins
package
Version:
v0.4.0-rc3
Opens a new window with list of versions in this module.
Published: Mar 15, 2016
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Jenkins
Golang Jenkins hash
Install
go get -u github.com/mtchavez/jenkins
Usage
Jenkins follows the Hash32 interface from the Go standard library
// Create a new hash
jenkhash := New()
// Write a string of bytes to hash
key := []byte("my-random-key")
length, err := jenkhash(key)
// Get uint32 sum of hash
sum := jenkhash.Sum32()
// Sum hash with byte string
sumbytes := jenkhash.Sum(key)
Testing
Uses Ginkgo for testing.
Run via make test
which will run go test -cover
Documentation
Docs on godoc
License
Written by Chavez
Released under the MIT License: http://www.opensource.org/licenses/mit-license.php
Expand ▾
Collapse ▴
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.