public static BigInteger decodeToBigInteger(String input) {
        return new BigInteger(1, decode(input));
    }
Decodes the given base58 string into the original data bytes.

@param input the base58-encoded string to decode
@return the decoded data bytes
storage/src/main/java/com/epam/aidial/core/storage/util/Base58.java