rozdzial2
Class KeyGeneratorExample

java.lang.Object
  extended byrozdzial2.KeyGeneratorExample

public class KeyGeneratorExample
extends java.lang.Object

Prosty przykład wykorzystania klasy KeyGenerator, pokazujący jak utworzyć obiekt SecretKeySpec z zakodowanego klucza.


Constructor Summary
KeyGeneratorExample()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyGeneratorExample

public KeyGeneratorExample()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Przykłady do książki Kryptografia w Javie – Podstawy