StringExtensions Methods
The StringExtensions type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
AsJsonEnumerable<(Of <<'(T>)>>) |
will yield-return a large string of JSON a will continue reading if skipping bad entries
|
|
|
AsMD5Hash(String) |
Generate hash of a given string using MD5 methods generating a 32 character hash string
|
|
|
AsMD5Hash(IEnumerable<(Of <<'(String>)>>)) |
Generate hash of a given string using MD5 methods generating a 32 character hash string
|
|
|
AsShaHash(String, HashMethod) |
Generate hash of a given string using SHA methods
|
|
|
AsShaHash(String, HashMethod, Int32, AsHashSubsetLocation) |
Generate hash of a given string using SHA methods
|
|
|
AsShaHash(IEnumerable<(Of <<'(String>)>>), HashMethod) |
Generate hash of a given string using SHA methods
|
|
|
AsShaHashBytes(String, HashMethod) |
Generate hased bytes based on a string
|
|
|
AsShaHashBytes(String, HashMethod, Int32, AsHashSubsetLocation) |
Generate hased bytes based on a string
|
|
|
AsString |
The bytes as string
|
|
|
Base64Encode |
Generate a Base64 string based on plain text.
|
|
|
CidrToIp(String) |
Generate a IP address from a CIDR numeric value
|
|
|
CidrToIp(BigInteger) |
Generate a IP address from a CIDR numeric value
|
|
|
FromHexString |
converts a hex string to a byte array
|
|
|
GetDeterministicHashCode(String) |
Get a deterministic hash-code
|
|
|
GetDeterministicHashCode(array<String>[]()[][]) |
get a deterministic hash-code
|
|
|
IsBase64 |
Tests to see if a string is a base 64 string (culture sensitive)
|
|
|
IsValidJson(String) |
Determines whether the string contains valid json.
|
|
|
IsValidJson<(Of <<'(T>)>>)(String, T%) |
Determines whether the string contains valid json and will serialize the object is possible.
|
|
|
IsValidJson<(Of <<'(T>)>>)(String, JsonSerializerSettings, T%) |
Determines whether the string contains valid json.
|
|
|
IsValidMD5HashFor(String, String) |
Validate if the plain-text is valid MD5 hash
|
|
|
IsValidMD5HashFor(String, IEnumerable<(Of <<'(String>)>>)) |
Validate if the plain-text is valid MD5 hash
|
|
|
IsValidRfcHashFor |
Validate if the plain-text is valid for the base 64 string hash value that was cyphered with a password
|
|
|
IsValidShaHashFor(String, String, HashMethod) |
Validate if the plain-text is valid for the hashing method
|
|
|
IsValidShaHashFor(String, IEnumerable<(Of <<'(String>)>>), HashMethod) |
Validate if the plain-text is valid for the hashing method
|
|
|
RfcHash |
Generate hash of a given string using a cryptology hasher and password
|
|
|
Substrings |
Split a string in chunks of a given size, the last entry get's the left-overs of the string is not divisible by the chunk size
|
|
|
ToBytes |
returns a string as UTF8 bytes
|
|
|
ToHexString |
converts a byte array to a hex string
|
|
|
ToSqlBinaryString |
Converts a byte array to a T-SQL compatible hexadecimal string.
|
|
|
TryParseCidr |
Generate a IP address from a CIDR numeric value
|

