Method DeobfuscateOdttf
DeobfuscateOdttf(ReadOnlySpan<byte>, Guid)
De-obfuscates an ODTTF payload using the GUID key from
w:embed*/@w:fontKey.
public static byte[] DeobfuscateOdttf(ReadOnlySpan<byte> payload, Guid fontKey)
Parameters
payloadReadOnlySpan<byte>The obfuscated payload.
fontKeyGuidThe font key GUID.
Returns
- byte[]
A new byte array containing the de-obfuscated payload.