I am trying to migrate an encryption code that was encrypting a byte[] to a bytebuffer in order to integrate better with another apis.
The previous code using byte[8] wor