uruk-project / Jwt

JSON Web Token implementation for .Net & .Net Core
MIT License
85 stars 11 forks source link

Force SHA256 as hash algorithm for EC key wrapping #582

Closed ycrumeyrolle closed 7 months ago

ycrumeyrolle commented 7 months ago

Force SHA256 as hash algorithm for EC key wrapping. As a result, the encryption algorithms that require a key greater than 32 bytes have now the remaining with zero-ed bytes