16171819202122232425
public SingleUseToken(String sessionId) throws TokenException { try { MD5 md5 = new MD5(); this.sessionIdHash = md5.digest(sessionId); } catch (Exception e) { throw new TokenException("Error creating SingleUseToken.", e); } date = new Date(); }