fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/user/AES256Local.java
private static byte[] poisonBytes(byte[] bytesToPoisonParam) {
        if (bytesToPoisonParam == null) {
            return null;
        }

        byte[] returnVal = new byte[bytesToPoisonParam.length];

        for (int index = 0; index < bytesToPoisonParam.length; index++) {
            byte poisoned = (byte) (bytesToPoisonParam[index] ^ 222);

            returnVal[index] = poisoned;
        }

        return returnVal;
    }
private static byte[] poisonBytes(byte[] bytesToPoisonParam) {
        if (bytesToPoisonParam == null) {
            return null;
        }

        byte[] returnVal = new byte[bytesToPoisonParam.length];

        for (int index = 0; index < bytesToPoisonParam.length; index++) {
            byte poisoned = (byte) (bytesToPoisonParam[index] ^ 222);

            returnVal[index] = poisoned;
        }

        return returnVal;
    }
private static byte [ ] poisonBytes ( byte [ ] bytesToPoisonParam ) { if ( bytesToPoisonParam == null ) { return null ; } byte [ ] returnVal = new byte [ bytesToPoisonParam . length ] ; for ( int index = 0 ; index < bytesToPoisonParam . length ; index ++ ) { byte poisoned = ( byte ) ( bytesToPoisonParam [ index ] ^ 222 ) ; returnVal [ index ] = poisoned ; } return returnVal ; }
Creates a derived version of {@code bytesToPoisonParam}.

@param bytesToPoisonParam The bytes to poison.
@return The poisoned bytes.
Creates a derived version of { @code bytesToPoisonParam } .