Cypher for .net

BytesExtension..::..AsEncryptedBytes Method (String)

encrypt using default settings to a ByteArray, You can decrypt it using the extension method AsDecryptFromBytes(array<Byte>[]()[][], KeyRing) method

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

Syntax


public static byte[] AsEncryptedBytes(
	string text
)

Parameters

text
Type: String
clear text to encrypt

Return Value

cyphered bytes