3
votes
Implementation of aes-cbc-hmac combined with xchacha20-poly1305
threat environment
[I appended some material in this vein at end-of-answer.]
Apparently you're addressing a use case along these lines:
Alice has sensitive material to store or transmit
Mallory wants ...
2
votes
Accepted
Thread-safe int wrapper in c#
Based on the discussion in the comments section I think the code can be greatly simplified:
...
1
vote
Thread-safe int wrapper in c#
// read freshest value
private int Get() => Interlocked.CompareExchange(ref _value, 0, 0);
Using an ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
c# × 10006.net × 1135
performance × 874
linq × 588
beginner × 559
design-patterns × 464
object-oriented × 451
algorithm × 405
entity-framework × 394
asp.net × 393
multithreading × 346
wpf × 326
strings × 319
programming-challenge × 302
winforms × 299
unit-testing × 257
generics × 235
async-await × 234
asp.net-mvc × 228
unity3d × 222
console × 205
game × 195
asynchronous × 185
asp.net-core × 178
array × 167