You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bugfix: Crypto ReadOnlyMemory<byte> decryption times out (#1443)
* Bugfix: Removed use of MemoryMarshal as it wasn't decrypting in-memory byte arrays properly (doesn't impact stream encryption/decryption).
Signed-off-by: Whit Waldo <[email protected]>
* Added extension method similar to how the CommunityToolkit.HighPerformance project handles the creation of MemoryStreams without an allocation. Restored the use of MemoryMarshal, but throws an exception if the data cannot be accessed now, instead of hanging as it did in a previous iteration.
Tested both paths (string and stream) from example project successfully.
Signed-off-by: Whit Waldo <[email protected]>
* Added missing using
Signed-off-by: Whit Waldo <[email protected]>
---------
Signed-off-by: Whit Waldo <[email protected]>
0 commit comments