|
|||||||||
| Home >> All >> com >> pjsofts >> eurobudget >> [ crypt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.pjsofts.eurobudget.crypt
Class Crypt

java.lang.Objectcom.pjsofts.eurobudget.crypt.Crypt
- public class Crypt
- extends java.lang.Object
test of cypher and cryptographic package of jdk (jce) will encode a text file , sign it , save this a new file then decode it in another new file too. then compare original and new one.
| Field Summary | |
private javax.crypto.Cipher |
cipher
|
private javax.crypto.SecretKey |
key
key used both in encoding and decoding |
| Constructor Summary | |
Crypt()
Creates a new instance of Crypt |
|
| Method Summary | |
void |
decode(java.io.File fromFile,
java.io.File toFile)
decode a file |
void |
encode(java.io.File fromFile,
java.io.File toFile)
encode a file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
key
private javax.crypto.SecretKey key
- key used both in encoding and decoding
cipher
private javax.crypto.Cipher cipher
| Constructor Detail |
Crypt
public Crypt()
- Creates a new instance of Crypt
| Method Detail |
encode
public void encode(java.io.File fromFile, java.io.File toFile)
- encode a file
decode
public void decode(java.io.File fromFile, java.io.File toFile)
- decode a file
|
|||||||||
| Home >> All >> com >> pjsofts >> eurobudget >> [ crypt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.pjsofts.eurobudget.crypt.Crypt