I need to generate byte array for TripleDES encryption. I don't want to use .generateKey()
because I need to know the bytes in the key to pass them to another application.
Thanks for the replies but I forgot to mention one thing: the bytes have to be odd parity. Otherwise I can't generate a TripleDES key from them. I'm not so familiar with the odd parity, so I guess have to create a byte check if it has odd parity or not; then if it does put it in the array, otherwise not.