I need to create an array of bytes for TripleDES encryption. I do not want to use .generateKey() , because I need to know the bytes in the key to transfer them to another application.
Thanks for the answers, but I forgot to mention one thing: bytes should be odd. Otherwise, I cannot generate the TripleDES key for them. I am not very good at odd parity, so, in my opinion, you need to create a byte check if it has odd parity or not; then if it puts it in an array, otherwise not.
c # tripledes
hs2d
source share