StringEncrypter
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
A string encryptor class.
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
Decrypt(string, string)
A string extension method that decrypts.
Parameters
The string to act on.
The password used to encrypt.
Returns
The decrypted string.
Exceptions
Thrown when one or more required arguments are
Decrypt(string, string, IEncoding)
A string extension method that decrypts strings.
Parameters
The string to act on.
The password used to encrypt.
The encrypted string encoding.
Returns
The decrypted string.
Exceptions
Thrown when one or more required arguments are null.
Decrypt(string, byte[])
A string extension method that decrypts.
Parameters
The string to act on.
The password used to encrypt.
Returns
The decrypted string.
Exceptions
Thrown when one or more required arguments are
DecryptFromBytes(byte[], string)
A string extension method that decrypts.
Parameters
The byte array to act on.
The password used to encrypt.
Returns
The decrypted string.
Exceptions
Thrown when one or more required arguments are
Encrypt(string, string)
A string extension method that encrypts.
Parameters
The string to act on.
The password used to encrypt.
Returns
The encrypted string.
Exceptions
Thrown when one or more required arguments are
Encrypt(string, string, IEncoding)
A string extension method that encrypts strings.
Parameters
The string to act on.
The password used to encrypt.
The encrypted string encoding.
Returns
The encrypted string.
Exceptions
Thrown when one or more required arguments are null.
Encrypt(string, byte[])
A string extension method that encrypts.
Parameters
The string to act on.
The password used to encrypt.
Returns
The encrypted string.
Exceptions
Thrown when one or more required arguments are
EncryptToBytes(string, string)
A string extension method that encrypts strings.
Parameters
The string to act on.
The password used to encrypt.
Returns
The encrypted string byte array.
Exceptions
Thrown when one or more required arguments are null.
Last updated