Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: cryptix/jce/provider/mac/HMAC_SHA1.java


1   /* $Id: HMAC_SHA1.java,v 1.6 2000/02/09 20:32:33 gelderen Exp $
2    *
3    * Copyright (C) 1995-2000 The Cryptix Foundation Limited.
4    * All rights reserved.
5    *
6    * Use, modification, copying and distribution of this software is subject
7    * the terms and conditions of the Cryptix General Licence. You should have
8    * received a copy of the Cryptix General Licence along with this library;
9    * if not, you can download a copy from http://www.cryptix.org/ .
10   */
11  package cryptix.jce.provider.mac;
12  
13  
14  /**
15   * @author Jeroen C. van Gelderen (gelderen@cryptix.org)
16   * @version $Revision: 1.6 $
17   */
18  public final class HMAC_SHA1 extends HMAC
19  {
20      private static final int
21          BLOCK_SIZE = 64,
22          DIGEST_LEN = 20;
23  
24      public HMAC_SHA1()
25      {
26          super("SHA", BLOCK_SIZE, DIGEST_LEN);
27      }
28  }