public static BigInteger[] toBigInteger(byte[] input) {
        BigInteger[] ret = new BigInteger[input.length];
        for (int i = 0; i < input.length; i++) {
            ret[i] = BigInteger.valueOf(input[i]);
        }