CryptoEncrypt(String, String, CryptoCryptoTypes) Method

Encrypt string acc. to cryptoType and with user defined password

Definition

Namespace: KLib.Crypto
Assembly: KLib.Utilities (in KLib.Utilities.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public string Encrypt(
	string inputText,
	string password,
	CryptoCryptoTypes cryptoType
)

Parameters

inputText  String
text to encrypt
password  String
password to use when encrypting
cryptoType  CryptoCryptoTypes
type of encryption

Return Value

String
an encrypted string

See Also