(ByteBufferList bb)
| 19 | |
| 20 | } |
| 21 | public void update(ByteBufferList bb) { |
| 22 | while (bb.size() > 0) { |
| 23 | ByteBuffer b = bb.remove(); |
| 24 | digest.update(b); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | public String digest() { |
| 29 | String hash = new BigInteger(digest.digest()).toString(16); |
no test coverage detected