S
S
siarheinaidzionau2016-11-30 17:27:09
.NET
siarheinaidzionau, 2016-11-30 17:27:09

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

2 answer(s)
A
Albus Percival Wulfric Brian Dumbledore, 2016-12-01
@siarheinaidzionau

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.

M
MonkAlex, 2016-11-30
@MonkAlex

If you write without relying on sharp cryptography classes, then there is nothing specific in the language, you need thoughtful algorithms.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question