Skip to content

Unable to save on BlazorΒ #471

@anezih

Description

@anezih

Since MD5 is not available on browser target I get a System.Security.Cryptography.CryptographicException: 'MD5' is not a known hash algorithm. error while attempting to save PDF files on a Blazor WebAssembly app.

In PdfStandardSecurityHandler.cs, I've changed the MD5 to SHA256 (it is supported on Blazor) and it works for my use case, modifying metadata and outlines.

Is it possible to change the MD5 to one of the supported algorithms mentioned above?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions