We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since HKDF was added, IncrementalHash has had support for ReadOnlySpan<byte> HMAC keys, but it isn't made public.
ReadOnlySpan<byte>
The functionality is already there, it just needs to be changed from internal to public and given proper test coverage.
namespace System.Security.Cryptography { public sealed class IncrementalHash : IDisposable { // existing method changed from internal to public public static IncrementalHash CreateHMAC(HashAlgorithmName hashAlgorithm, ReadOnlySpan<byte> key); } }
/cc @JimBobSquarePants
The text was updated successfully, but these errors were encountered:
Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq Notify danmosemsft if you want to be subscribed.
Sorry, something went wrong.
@bartonjs @carlossanlop why is this no longer ready for review?
@vcsjones Bulk operation error, fixed now.
Video
Looks good as proposed.
namespace System.Security.Cryptography { public partial class IncrementalHash { public static IncrementalHash CreateHMAC(HashAlgorithmName hashAlgorithm, ReadOnlySpan<byte> key); } }
Successfully merging a pull request may close this issue.
Since HKDF was added, IncrementalHash has had support for
ReadOnlySpan<byte>
HMAC keys, but it isn't made public.The functionality is already there, it just needs to be changed from internal to public and given proper test coverage.
Proposal:
/cc @JimBobSquarePants
The text was updated successfully, but these errors were encountered: