|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.poscoict.glueframework.util.GlueCipher
public class GlueCipher
ÆÄÀÏ/¹®ÀÚ¿ ¾Ïº¹È£È Ŭ·¡½º.
Field Summary | |
---|---|
static String |
defaultkeyfileurl
|
static int |
kBufferSize
ÆÄÀϾÏȣȿ¡ ¾²ÀÌ´Â ¹öÆÛ Å©±â ÁöÁ¤ |
static Key |
key
|
static String |
path
|
Constructor Summary | |
---|---|
GlueCipher()
|
Method Summary | |
---|---|
static String |
decrypt(String encryptedString)
¹®ÀÚ¿ ´ëĪ º¹È£È. |
static void |
decryptFile(String infile,
String outfile)
ÆÄÀÏ ´ëĪ º¹È£È. |
static String |
encrypt(String unencryptedString)
¹®ÀÚ¿ ´ëĪ ¾ÏÈ£È. |
static void |
encryptFile(String infile,
String outfile)
ÆÄÀÏ ´ëĪ ¾ÏÈ£È. |
static File |
makekey()
ºñ¹ÐÅ° »ý¼º¸Þ¼Òµå |
static File |
makekey(String filename)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int kBufferSize
public static Key key
public static String path
public static final String defaultkeyfileurl
Constructor Detail |
---|
public GlueCipher()
Method Detail |
---|
public static File makekey() throws IOException, NoSuchAlgorithmException
IOException
- ,java.security.NoSuchAlgorithmException
NoSuchAlgorithmException
public static File makekey(String filename) throws IOException, NoSuchAlgorithmException
filename
-
IOException
NoSuchAlgorithmException
public static String encrypt(String unencryptedString) throws Exception
unencryptedString
- ºñ¹ÐÅ° ¾Ïȣȸ¦ Èñ¸ÁÇÏ´Â ¹®ÀÚ¿
Exception
public static String decrypt(String encryptedString) throws Exception
encryptedString
- ºñ¹ÐÅ° º¹È£È¸¦ Èñ¸ÁÇÏ´Â ¹®ÀÚ¿
Exception
public static void encryptFile(String infile, String outfile) throws Exception
infile
- ¾ÏÈ£ÈÀ» Èñ¸ÁÇÏ´Â ÆÄÀϸíoutfile
- ¾ÏÈ£ÈµÈ ÆÄÀϸí
Exception
public static void decryptFile(String infile, String outfile) throws Exception
infile
- º¹È£ÈÀ» Èñ¸ÁÇÏ´Â ÆÄÀϸíoutfile
- º¹È£ÈµÈ ÆÄÀϸí
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |