Skip to content

trylife/go-PKCS5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PKCS5 for Go

Public Key Cryptography Standards #5

go get github.com/trylife/go-PKCS5
import "github.com/trylife/go-PKCS5"

padded := PKCS5.Padding([]byte("hi"), 8)
original := PKCS5.RemovePadding(padded)
fmt.Println(padded)
fmt.Println(original)
// Output:
// [104 105 6 6 6 6 6 6]
// [104 105]

Releases

No releases published

Packages

No packages published

Languages