WALTER | Workable Algorithms for Location-aware Transmission, Encryption Response

BytesExtension..::..AsDecryptFromBytes Method (array<Byte>[]()[][], KeyRing)

returns a string as encrypted bytes.

Namespace:  System.Text
Assembly:  Walter.Cypher (in Walter.Cypher.dll)

Syntax


[FeatureTagsAttribute]
public static byte[] AsDecryptFromBytes(
	this byte[] bytes,
	KeyRing pgp
)

Parameters

bytes
Type: array<Byte>[]()[][]
The text.
pgp
Type: Walter.Cypher.PGP..::..KeyRing
The PGP.

Return Value

System.Byte[].

Exceptions


ExceptionCondition
CryptographicExceptioncertificate specified in the pgp key doesn't have a public key

Remarks


Size of the string doesn't really matter