Skip to content

Zytekaron/galois-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Galois

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.

Installation & Usage

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)
}

Compatible Libraries

Samples

License

galois-go is licensed under the MIT License.

About

A Go implementation of Galois fields

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages