//
//  IDecryptor.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Remora.Results;
namespace NosSmooth.Data.NOSFiles.Decryptors;
/// 
/// A decryptor interface.
/// 
public interface IDecryptor
{
    /// 
    /// Decrypts the given data.
    /// 
    /// The data.
    /// An array with data or an error.
    public Result Decrypt(ReadOnlySpan data);
}