FAES/FAES.cs
/// <summary>
/// Overrides the default extensions used by FAES. Useful if you are using FAES in a specialised environment
/// </summary>
/// <param name="encryptedFAES">Extension of the final, encrypted file</param>
/// <param name="unencryptedFAES">Extension of the compressed, but not encrypted, file</param>
/// <param name="limitSupportedExtensions">Limits the supported encryption file extensions to only the provided one</param>
Overrides the default extensions used by FAES. Useful if you are using FAES in a specialised environment
Overrides the default extensions used by FAES . Useful if you are using FAES in a specialised environment
public static void OverrideDefaultExtensions(string encryptedFAES, string unencryptedFAES, bool limitSupportedExtensions = false)
        {
            ExtentionFAES = encryptedFAES;
            ExtentionUFAES = unencryptedFAES;
            if (limitSupportedExtensions)
                _supportedEncExtensions = new[] { ExtentionFAES };
            else
                _supportedEncExtensions = new[] { ExtentionFAES, ".faes", ".mcrypt" };
        }
public static void OverrideDefaultExtensions ( string encryptedFAES , string unencryptedFAES , bool limitSupportedExtensions = false ) { ExtentionFAES = encryptedFAES ; ExtentionUFAES = unencryptedFAES ; if ( limitSupportedExtensions ) _supportedEncExtensions = new [ ] { ExtentionFAES } ; else _supportedEncExtensions = new [ ] { ExtentionFAES , " " , " " } ; }
Overrides the default extensions used by FAES.
Overrides the default extensions used by FAES .
encryptedFAES
string
Extension of the final, encrypted file
Extension of the final encrypted file
unencryptedFAES
string
Extension of the compressed, but not encrypted, file
Extension of the compressed but not encrypted file
limitSupportedExtensions
bool
Limits the supported encryption file extensions to only the provided one
Limits the supported encryption file extensions to only the provided one