peridot/vendor/github.com/ProtonMail/gopenpgp/v2/constants/cipher.go
2022-07-07 22:13:21 +02:00

22 lines
480 B
Go

package constants
// Cipher suite names.
const (
ThreeDES = "3des"
TripleDES = "tripledes" // Both "3des" and "tripledes" refer to 3DES.
CAST5 = "cast5"
AES128 = "aes128"
AES192 = "aes192"
AES256 = "aes256"
)
const (
SIGNATURE_OK int = 0
SIGNATURE_NOT_SIGNED int = 1
SIGNATURE_NO_VERIFIER int = 2
SIGNATURE_FAILED int = 3
)
const DefaultCompression = 2 // ZLIB
const DefaultCompressionLevel = 6 // Corresponds to default -1 for ZLIB