gnu.crypto.cipher

Class DES.Context

Enclosing Class:
DES

(package private) 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

Context()
Default 0-arguments constructor.

Method Summary

(package private) byte[]
getDecryptionKeyBytes()
(package private) byte[]
getEncryptionKeyBytes()
(package private) byte[]
toByteArray(int[] k)

Field Details

dk

(package private)  int[] dk
The decryption key.


ek

(package private)  int[] ek
The encryption key.

Constructor Details

Context

(package private)  Context()
Default 0-arguments constructor.

Method Details

getDecryptionKeyBytes

(package private)  byte[] getDecryptionKeyBytes()


getEncryptionKeyBytes

(package private)  byte[] getEncryptionKeyBytes()


toByteArray

(package private)  byte[] toByteArray(int[] k)


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