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.NoSuchAlgorithmExceptionNoSuchAlgorithmException
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
Copyright © 2013–2020 POSCO ICT. All rights reserved.