version: 0.0.1
This library implements a general-purpose Galois Field, GF(2^8) aka 256, commonly used in cryptographic applications such as AES and Shamir Secret Sharing.
I plan to add a GF(2^16) aka 65536 implementation in the future.
go get github.com/zytekaron/galois-go
import "github.com/zytekaron/galois-go"
func main() {
gfAES := galois.NewDefault256() // defaults to AES polynomial and generator
gfRS := galois.New256(galois.PolyReedSolomon, galois.GenReedSolomon)
}
- TypeScript & JavaScript: Zytekaron/galois-js (npm:
@zytekaron/galois
)
- Shamir Secret Sharing: Zytekaron/shamir-go
galois-go is licensed under the MIT License.