Skip to content

Commit

Permalink
Update IEncryptionPlugin.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
AraHaan committed Dec 8, 2022
1 parent e6f1fcf commit 7e629f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ref/PluginFramework/PluginFramework/IEncryptionPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ public interface IEncryptionPlugin
/// When the KOM file algorithm is not suppoted by the curently installed
/// encryption plugin.
/// </exception>
/// <param name="input">The input data to Decrypt output replaces everything in the Stream.</param>
/// <param name="input">The input data to Decrypt. Output replaces everything in the Span.</param>
/// <param name="kOMFileName">The file name the entry is from.</param>
/// <param name="algorithm">The algorithm the entry is.</param>
void DecryptEntry(Stream input, string kOMFileName, uint algorithm);
void DecryptEntry(Span<byte> input, string kOMFileName, uint algorithm);

/// <summary>
/// Encrypts an KOM file entry. If KOM file algorithm is not supported
Expand All @@ -43,8 +43,8 @@ public interface IEncryptionPlugin
/// When the KOM file algorithm is not suppoted by the curently installed
/// encryption plugin.
/// </exception>
/// <param name="input">The input data to Encrypt output replaces everything in the Stream.</param>
/// <param name="input">The input data to Encrypt. Output replaces everything in the Span.</param>
/// <param name="kOMFileName">The file name the entry is from.</param>
/// <param name="algorithm">The algorithm the entry is.</param>
void EncryptEntry(Stream input, string kOMFileName, uint algorithm);
void EncryptEntry(Span<byte> input, string kOMFileName, uint algorithm);
}

0 comments on commit 7e629f1

Please sign in to comment.