bc-csharp icon indicating copy to clipboard operation
bc-csharp copied to clipboard

Any updates on allowing use of span in the library?

Open Xyncgas opened this issue 3 years ago • 1 comments

https://github.com/bcgit/bc-csharp/issues/339 For example, if I have a pointer instead of byte array, I would like to create a span and use it as AES KEY instead of having to create a new managed array from the datas that the pointer points to because I can not use the pointer directly therefore having to use a copy of it

Xyncgas avatar Feb 12 '22 19:02 Xyncgas

I've tried to revive the discussion in #50 which this could be apart of

mdsitton avatar May 12 '22 14:05 mdsitton

https://www.nuget.org/packages/BouncyCastle.Cryptography is now available. There are now Span-based alternatives for many APIs when using net6.0.

peterdettman avatar Nov 15 '22 08:11 peterdettman