The TextEncryptionUtils type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Base64StringToBytes |
Convert a Base64 string to its bytes
| |
| BytesToBase64String |
Convert an array of bytes to a Base64 representation of bytes
| |
| BytesToString |
Convert an array of bytes into an hexadecimal string
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsBase64 |
Returns true if the input string CAN BE a Base64 string.
Since there is not an exact way to determine if a string is a Base64 string
and not simple text, this method returns true if the string is 'compliant'
with Base64, and so it can be a result of a Base64 encoding.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemoryToBase64String |
Convert a MemoryStream to a Base64 representation of bytes
| |
| MemoryToString |
Convert a MemoryStream to a clear text string
| |
| StringToBytes |
Convert a string into an array of bytes
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |