Answer the question
In order to leave comments, you need to log in
Are there books on cryptography in C#?
There is a great need for literature on how to CORRECTLY write cryptographic operations in C#.
I started writing one encryption algorithm, but there are so many transitions between BitArray and int and bool that I began to doubt the correctness of writing.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Cryptography is almost entirely algorithms, and writing them in C# is like websites in Pascal.
Sharp itself has the System.Security namespace for such purposes. C# is a strongly typed language, and your frequent conversions don't need it, in fact you're going against one of the foundations of the language. But this is what T-shirts provided for, here unsafe will help you just for such transformations. If it would be difficult to adapt the code for bitarray, then int => bool is done with your eyes closed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question