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.TextAssembly: Walter.Cypher (in Walter.Cypher.dll)
Syntax
[FeatureTagsAttribute] public static byte[] AsEncryptedBytes( this string text, EncryptionScope scope )
Parameters
- text
- Type: String
clear text to encrypt
- scope
- Type: Walter.Cypher..::..EncryptionScope
the scope to limit use to