Cypher for .net

BytesExtension..::..AsEncryptedBytes Method

Overload List


  Name Description
Public method Static member AsEncryptedBytes(String)
encrypt using default settings to a ByteArray, You can decrypt it using the extension method AsDecryptFromBytes(array<Byte>[]()[][], KeyRing) method
Public method Static member AsEncryptedBytes(String, KeyRing)
returns a string as encrypted bytes.
Public method Static member AsEncryptedBytes(String, X509Certificate2)
Asymmetrically encrypts text as encrypted bytes only use with small sets of text
Public method Static member AsEncryptedBytes(String, EncryptionScope)
encrypt using default settings to a ByteArray, You can decrypt it using the extension method AsDecryptFromBytes(array<Byte>[]()[][], KeyRing) method
Public method Static member AsEncryptedBytes(String, String)
encrypt using a password to a ByteArray, You can decrypt it using the extension method AsDecryptFromBytes(array<Byte>[]()[][], KeyRing) method
Public method Static member AsEncryptedBytes(String, String, CipherMethod)
encrypt using a password and protection level to a ByteArray, You can decrypt it using the extension method AsDecryptFromBytes(array<Byte>[]()[][], KeyRing) method