question: public static byte [ ] hashTwice ( byte [ ] input , int offset , int length ) { MessageDigest digest = newDigest ( ) ; digest . update ( input , offset , length ) ; return digest . digest ( digest . digest ( ) ) ; }
target:  Calculates the SHA-256 hash of the given byte range, and then hashes the resulting hash again.