rozdzial4
Class Utils

java.lang.Object
  extended byrozdzial2.Utils
      extended byrozdzial3.Utils
          extended byrozdzial4.Utils
Direct Known Subclasses:
Utils

public class Utils
extends Utils

Klasa narzędziowa dla przykładów z rozdziału 4.


Constructor Summary
Utils()
           
 
Method Summary
static java.security.SecureRandom createFixedRandom()
          Zwraca obiekt SecureRandom generujacy stałą wartość.
 
Methods inherited from class rozdzial3.Utils
createCtrIvForAES, createKeyForAES, toByteArray, toString, toString
 
Methods inherited from class rozdzial2.Utils
toHex, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

createFixedRandom

public static java.security.SecureRandom createFixedRandom()
Zwraca obiekt SecureRandom generujacy stałą wartość. Wyłącznie do testów!

Returns:
stała wartość "losowa"


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