edu.rit.crypto
Class CryptoUtils

java.lang.Object
  extended by edu.rit.crypto.CryptoUtils

public class CryptoUtils
extends Object

Class CryptoUtils contains static cryptographic utility methods.


Method Summary
static void erase(byte[] theArray)
          Erase the given byte array.
static void erase(char[] theArray)
          Erase the given character array.
static void erase(int[] theArray)
          Erase the given integer array.
static void erase(long[] theArray)
          Erase the given long array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

erase

public static void erase(byte[] theArray)
Erase the given byte array. Every byte is set to 0.

Parameters:
theArray - Byte array.

erase

public static void erase(char[] theArray)
Erase the given character array. Every character is set to 0.

Parameters:
theArray - Character array.

erase

public static void erase(int[] theArray)
Erase the given integer array. Every integer is set to 0.

Parameters:
theArray - Integer array.

erase

public static void erase(long[] theArray)
Erase the given long array. Every long is set to 0.

Parameters:
theArray - Long array.


Copyright © 2005-2012 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.