com.objectwave.tools
Class LockFile

java.lang.Object
  |
  +--com.objectwave.tools.LockFile

public class LockFile
extends java.lang.Object

Use the CryptoInputStream and CryptoOutputStream classes to either produce an encrypted version of a file (whose size will unfortunately be inflated by approx. 16%) or a decryption of a previously encrypted file.


Field Summary
static java.lang.String CRYPTO_PREFIX
          Encrypted files are given this prefix to be verified when decrypting to ensure that the proper password has been used.
 
Constructor Summary
LockFile()
           
 
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
 

Field Detail

CRYPTO_PREFIX

public static final java.lang.String CRYPTO_PREFIX
Encrypted files are given this prefix to be verified when decrypting to ensure that the proper password has been used.

See Also:
Constant Field Values
Constructor Detail

LockFile

public LockFile()
Method Detail

main

public static void main(java.lang.String[] args)