gnu.crypto.cipher

Class DES.Context

final class DES.Context extends Object

Simple wrapper class around the session keys. Package-private so TripleDES can see it.
Field Summary
int[]dk
The decryption key.
int[]ek
The encryption key.
Constructor Summary
Context()
Default 0-arguments constructor.
Method Summary
byte[]getDecryptionKeyBytes()
byte[]getEncryptionKeyBytes()
byte[]toByteArray(int[] k)

Field Detail

dk

int[] dk
The decryption key.

ek

int[] ek
The encryption key.

Constructor Detail

Context

Context()
Default 0-arguments constructor.

Method Detail

getDecryptionKeyBytes

byte[] getDecryptionKeyBytes()

getEncryptionKeyBytes

byte[] getEncryptionKeyBytes()

toByteArray

byte[] toByteArray(int[] k)
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.