samples/messagedigest/src-new-api/org/apidesign/impl/security/friendapi/DigestImplementation.java
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
6 package org.apidesign.impl.security.friendapi;
8 import java.nio.ByteBuffer;
12 * @author Jaroslav Tulach
14 public abstract class DigestImplementation {
17 protected DigestImplementation(String algorithm) {
18 this.name = algorithm;
21 public abstract void update(ByteBuffer bb);
22 public abstract byte[] digest();