StringExtensions Members
The StringExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
AsNumeric |
Decodes a numeric encoded string, originally representing a password or sensitive information, back to its textual form. This method reverses the encoding applied by AsNumeric, allowing secure retrieval of the original string from its bigint numeric representation.
|
|
AsSqlChecksum |
Generates a SQL-like checksum value for a given string, producing a consistent integer representation.
This method is designed to facilitate efficient database indexing and querying by converting string values
to integer checksums, which can improve performance due to better indexing on numeric values.
|
|
FromNumeric(String) |
Decodes a string from its numeric encoded representation back to its original text form. This method reverses the encoding applied by AsNumeric, making it suitable for retrieving the original text from a numeric encoded string that was intended to be compact and less obvious.
|
|
FromNumeric(IEnumerable<(Of <<'(UInt64>)>>)) |
Decodes a sequence of unsigned long integers (ulong) back into the original plaintext string.
Each ulong in the sequence represents a part of the ciphered text, allowing for the
reconstruction of larger text blocks that were previously encoded.
|
|
TryAsNumeric(String, String%, UInt64%) |
convert the value as a numeric string,
if short enough you will also get the int64 value however for longer text than a few characters you will need to use string.TryAsNumeric(out IEnumerable<ulong> longArray)
|
|
TryAsNumeric(String, Nullable<(Of <<'(IEnumerable<(Of <<'(UInt64>)>>)>)>>)%) |
Tries to convert the values as a
a IEnumerable<ulong> containing the ciphered text
|