2022-10-27 11:27:13 -07:00
|
|
|
|
namespace NDecrypt.Core
|
2019-04-11 03:01:13 -07:00
|
|
|
|
{
|
2021-09-26 22:22:17 -07:00
|
|
|
|
public interface ITool
|
2019-04-11 03:01:13 -07:00
|
|
|
|
{
|
2024-10-12 00:59:07 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Attempts to encrypt an input file
|
|
|
|
|
|
/// </summary>
|
2024-10-12 01:42:02 -04:00
|
|
|
|
/// <param name="filename">Name of the file to encrypt</param>
|
2024-10-12 01:32:32 -04:00
|
|
|
|
/// <param name="force">Indicates if the operation should be forced</param>
|
2024-10-12 00:59:07 -04:00
|
|
|
|
/// <returns>True if the file could be encrypted, false otherwise</returns>
|
2024-10-12 01:42:02 -04:00
|
|
|
|
bool EncryptFile(string filename, bool force);
|
2024-10-12 00:59:07 -04:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Attempts to decrypt an input file
|
|
|
|
|
|
/// </summary>
|
2024-10-12 01:42:02 -04:00
|
|
|
|
/// <param name="filename">Name of the file to decrypt</param>
|
2024-10-12 01:32:32 -04:00
|
|
|
|
/// <param name="force">Indicates if the operation should be forced</param>
|
2024-10-12 00:59:07 -04:00
|
|
|
|
/// <returns>True if the file could be decrypted, false otherwise</returns>
|
2024-10-12 01:42:02 -04:00
|
|
|
|
bool DecryptFile(string filename, bool force);
|
2019-04-11 03:01:13 -07:00
|
|
|
|
}
|
|
|
|
|
|
}
|