gnu.crypto.tool
Class NistKat
public final class NistKat
extends java.lang.Object
For a designated symmetric block cipher algorithm, this command generates
and exercises Known Answer Tests data for either, or both, Variable Key and
Variable Text suites.
NistKat's output file format is in conformance with the layout described
in Section 3 of NIST's document "Description of Known Answer Tests and Monte
Carlo Tests for Advanced Encryption Standard (AES) Candidate Algorithm
Submissions" dated January 7, 1998.
References:
- Known
Answer Test (KAT) and Monte Carlo Test (MCT) Information
Version:
static void | main(String[] args) - The main entry point for this tool.
Usage:
gnu.crypto.tool.NistKat (options) cipher [key-size]
Where:
cipher
The canonical name of the cipher algorithm.
|
main
public static void main(String[] args)
The main entry point for this tool.
Usage:
gnu.crypto.tool.NistKat (options) cipher [key-size]
Where:
cipher
The canonical name of the cipher algorithm.
key-size
The key-size in bits to use for the algorithm. If unspecified,
then the three NIST key-sizes 128, 192 and 256 shall be used.
Options:
-k | -t | -a
Generate Variable Key Known Answer Test (KAT) data only, Variable
Text KAT data only, or both. For backward compatibility, if this
option is unspecified, then -a (both Variable Text and Variable
Key data) is activated.
-h
Print this help page.
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.