초기커밋
This commit is contained in:
30
ServerCommon/1. Define/EncryptData.cs
Normal file
30
ServerCommon/1. Define/EncryptData.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
|
||||
|
||||
namespace ServerCommon;
|
||||
|
||||
public static class EncryptData
|
||||
{
|
||||
//암호화 대칭키 8글자를 사용해야 한다 !!!
|
||||
public static readonly byte[] DESEncryptKey = ASCIIEncoding.ASCII.GetBytes("cali3&*(");
|
||||
public static readonly byte[] DESEncryptIv = ASCIIEncoding.ASCII.GetBytes("1b58034f");
|
||||
|
||||
|
||||
public static readonly byte[] AESEncryptKey = { 0xFF,0x10,0x24,0x31,0x44,
|
||||
0x58,0x6F,0x79,0x8F,0x90,
|
||||
0x0F,0x1E,0x2A,0x33,0x4B,
|
||||
0x5A,0x67,0x70,0x83,0x90,
|
||||
0x00,0x15,0x28,0x33,0x44,
|
||||
0x51,0x65,0x7F,0x8E,0x91,
|
||||
0x00,0x11 };
|
||||
public static readonly byte[] AESEncryptIv = { 0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5 };
|
||||
}
|
||||
Reference in New Issue
Block a user