Cypher for .net

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

encrypt using a password 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,
	string password
)

Parameters

text
Type: String
clear text to encrypt
password
Type: String

Return Value

cyphered bytes