Encrypt a string.
Namespace: Upsilon.Common.LibraryAssembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax 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
StringThe encrypted string.
See Also