Skip to content

limpasha/perlcrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

perlcrc

Ported Perl's String::CRC32 module to Go for strings.

Usage example

package main

import (
	"fmt"

	"github.com/limpasha/perlcrc"
)

func main() {
	var email = "user@gmail.com"
	var crc32 = perlcrc.CRC32String(email)

	fmt.Println(crc32)
}

prints 3326238302. That's it :)

LICENSE

The algorithm is taken from the source code of String::CRC32 perl module.

The author of this package disclaims all copyrights and releases it into the public domain.

About

Golang implementation of Perl's String::CRC32

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages