ProtonMail / go-crypto

Fork of go/x/crypto, providing an up-to-date OpenPGP implementation
https://pkg.go.dev/github.com/ProtonMail/go-crypto
BSD 3-Clause "New" or "Revised" License
328 stars 99 forks source link

can you open the newDecrypter to public for other user #192

Closed izouxv closed 8 months ago

izouxv commented 8 months ago

change func

newDecrypter(config *packet.Config) (decrypter interface{}, err error)

to

func NewDecrypter(config *packet.Config) (decrypter interface{}, err error)

or need use //go:linkname to open the function