in src/main/java/Main.java [116:124]
public static void reEncrypt2() {
ByteBuffer sourceCipherTextBlob = ByteBuffer.wrap(new byte[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 0});
ReEncryptRequest req = new ReEncryptRequest()
.withCiphertextBlob(sourceCipherTextBlob)
.withDestinationKeyId("NewKeyId");
ByteBuffer ciphertext = req.getCiphertextBlob();
System.out.println(ciphertext);
}