# README
go get github.com/ProtonMail/go-crypto
This module is backwards compatible with x/crypto/openpgp,
so you can simply replace all imports of golang.org/x/crypto/openpgp
with
github.com/ProtonMail/go-crypto/openpgp
.
A partial list of changes is here: https://github.com/ProtonMail/go-crypto/issues/21#issuecomment-492792917.
For the more extended API for reading and writing OpenPGP messages use github.com/ProtonMail/go-crypto/openpgp/v2
, but it is not fully backwards compatible with golang.org/x/crypto/openpgp
.
# Packages
No description provided by the author
Package brainpool implements Brainpool elliptic curves.
Package eax provides an implementation of the EAX (encrypt-authenticate-translate) mode of operation, as described in Bellare, Rogaway, and Wagner "THE EAX MODE OF OPERATION: A TWO-PASS AUTHENTICATED-ENCRYPTION SCHEME OPTIMIZED FOR SIMPLICITY AND EFFICIENCY." In FSE'04, volume 3017 of LNCS, 2004.
Package ocb provides an implementation of the OCB (offset codebook) mode of operation, as described in RFC-7253 of the IRTF and in Rogaway, Bellare, Black and Krovetz - OCB: A BLOCK-CIPHER MODE OF OPERATION FOR EFFICIENT AUTHENTICATED ENCRYPTION (2003).
Package openpgp implements high level operations on OpenPGP messages.