Specifies a symmetric encryption (cipher) algorithm.

Namespace: DidiSoft.Pgp
Assembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547

Syntax

C#
public enum CypherAlgorithm
Visual Basic
Public Enumeration CypherAlgorithm
Visual C++
public enum class CypherAlgorithm

Members

Member nameValueDescription
TRIPLE_DES0 Triple DES. 168 bit cipher involving three applications of the DES algorithm */
CAST51 CAST 5 (Default). 128 bit cipher used since PGP 5.0
BLOWFISH2 Blowfish
AES_1283 128 bit AES (Rijndael)
AES_1924 192 bit AES (Rijndael)
AES_2565 256 bit AES (Rijndael)
TWOFISH6 Twofish. 256-bit variant of former AES version
DES7 DES
SAFER8 SAFER
IDEA9 IDEA

Examples

This example demonstrates how to specify the preferred cipher algorithm used by the library.
CopyC#
PGPLib pgp = new PGPLib();
pgp.Cypher = CypherAlgorithm.TRIPLE_DES;
CopyVB.NET
Dim pgp As New PGPLib()
pgp.Cypher = CypherAlgorithm.TRIPLE_DES

See Also