Click or drag to resize

YSecurityEncrypt Method

Encrypt a string.

Namespace: Upsilon.Common.Library
Assembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public static string Encrypt(
	string source,
	string[] passwords,
	byte timeFactor = 0
)

Parameters

source  String
The string to encrypt.
passwords  String
The set of passwords.
timeFactor  Byte  (Optional)
The exponential time factor. By default it is 0 (uses speed upsilon hash method).

Return Value

String
The encrypted string.
See Also