Calculate matrix hash value : as part of my final year project, I am testing the Bouncycastle library on SHA-3.
I find the source code to calculate the hash value of a string:


    String input = "hello" ;
        SHA3.DigestSHA3 digestSHA3 = new SHA3.Digest256();   
        byte[] digest = digestSHA3.digest(input.getBytes());   
        System.out.println("SHA3-256 = " + Hex.toHexString(digest));

but i want to calculate the hash value of a matrix, hwo can help me?


