Cypher for .net

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

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,
	EncryptionScope scope
)

Parameters

text
Type: String
clear text to encrypt
scope
Type: Walter.Cypher..::..EncryptionScope
the scope to limit use to

Return Value

cyphered bytes