For the latest news and information visit
The GNU Crypto project

gnu.crypto.cipher
Class DES.Context

java.lang.Object
  extended bygnu.crypto.cipher.DES.Context
Enclosing class:
DES

final class DES.Context
extends java.lang.Object

Simple wrapper class around the session keys. Package-private so TripleDES can see it.


Field Summary
(package private)  int[] dk
          The decryption key.
(package private)  int[] ek
          The encryption key.
 
Constructor Summary
(package private) DES.Context()
          Default 0-arguments constructor.
 
Method Summary
(package private)  byte[] getDecryptionKeyBytes()
           
(package private)  byte[] getEncryptionKeyBytes()
           
(package private)  byte[] toByteArray(int[] k)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ek

int[] ek
The encryption key.


dk

int[] dk
The decryption key.

Constructor Detail

DES.Context

DES.Context()
Default 0-arguments constructor.

Method Detail

getEncryptionKeyBytes

byte[] getEncryptionKeyBytes()

getDecryptionKeyBytes

byte[] getDecryptionKeyBytes()

toByteArray

byte[] toByteArray(int[] k)

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.