
public class GlueCipher extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
defaultkeyfileurl |
static int |
kBufferSize
ÆÄÀϾÏȣȿ¡ ¾²ÀÌ´Â ¹öÆÛ Å©±â ÁöÁ¤
|
static Key |
key |
static String |
path |
| Constructor and Description |
|---|
GlueCipher() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final int kBufferSize
public static Key key
public static String path
public static final String defaultkeyfileurl
public static File makekey() throws IOException, NoSuchAlgorithmException
IOException - ,java.security.NoSuchAlgorithmExceptionNoSuchAlgorithmExceptionpublic static File makekey(String filename) throws IOException, NoSuchAlgorithmException
filename - IOExceptionNoSuchAlgorithmExceptionpublic static String encrypt(String unencryptedString) throws Exception
unencryptedString - ºñ¹ÐŰ ¾Ïȣȸ¦ Èñ¸ÁÇÏ´Â ¹®ÀÚ¿Exceptionpublic static String decrypt(String encryptedString) throws Exception
encryptedString - ºñ¹ÐŰ º¹È£È¸¦ Èñ¸ÁÇÏ´Â ¹®ÀÚ¿Exceptionpublic static void encryptFile(String infile, String outfile) throws Exception
infile - ¾ÏÈ£ÈÀ» Èñ¸ÁÇÏ´Â ÆÄÀϸíoutfile - ¾ÏÈ£ÈµÈ ÆÄÀϸíExceptionCopyright © 2013–2020 POSCO ICT. All rights reserved.