① 源代碼加密軟體哪個好用
源代碼加密軟體推薦使用賽虎信息科技的綠盾加密軟體,是一套從源頭上保障數據安全和使用安全的軟體系統。採用的是文件透明加密模塊,對平常辦公使用是沒有影響的。而且綠盾支持與SVN等源代碼管理工具無縫結合。
如果企業內部SVN伺服器採取透明模式,即加密文件是可以存放在SVN伺服器上的,需要達到的效果是SVN伺服器上文件密文存儲。則配合天銳綠盾應用伺服器安全接入系統來實現只有安裝了加密客戶端的Windows、Linux、MAC端才能夠正常的訪問公司內部的SVN伺服器。
如果企業內部採用eclipse、VS等開發工具,從這些開發工具將代碼直接上傳到SVN伺服器上時會自動解密。為了避免明文、密文混亂存放導致版本比對時出現錯誤等問題。因此,SVN伺服器上需統一存放明文文件。則通過伺服器白名單功能實現對終端電腦數據進行強制透明加密,對上傳到應用伺服器數據實現上傳自動解密、下載自動加密。再配合天銳綠盾應用伺服器安全接入系統實現只有安裝了加密客戶端的Windows、Linux、MAC端才能夠正常的訪問公司內部的SVN伺服器。
賽虎信息科技為客戶提供優質的內網安全管理產品和適合多種行業的應用解決方案。
② 軟體加密怎麼弄
方法/步驟:
1、打開手機,在系統自帶程序中,找到「設置」。
③ 求C#軟體加密代碼
public class HerpEncrypt {
#region 三重DES加密解密
private static TripleDES mydes = new ();
/// <summary>
/// 密鑰
/// </summary>
public static string Key = "[)&@^&*!~(12njimht+d_w#$";
/// <summary>
/// 向量
/// </summary>
public static string IV = "#$^%&&*Y";//"#$^%&&*(*&(*";
/// <summary>
/// 獲得密鑰
/// </summary>
/// <returns>密鑰</returns>
private static byte[] GetLegalKey() {
string sTemp = Key;
//mydes.GenerateKey();
//byte[] bytTemp = mydes.Key;
//int KeyLength = bytTemp.Length;
//if (sTemp.Length > KeyLength)
// sTemp = sTemp.Substring(0, KeyLength);
//else if (sTemp.Length < KeyLength)
// sTemp = sTemp.PadRight(KeyLength, ' ');
return ASCIIEncoding.ASCII.GetBytes(sTemp);
}
/// <summary>
/// 獲得初始向量IV
/// </summary>
/// <returns>初試向量IV</returns>
private static byte[] GetLegalIV() {
string sTemp = IV;
//mydes.GenerateIV();
//byte[] bytTemp = mydes.IV;
//int IVLength = bytTemp.Length;
//if (sTemp.Length > IVLength)
// sTemp = sTemp.Substring(0, IVLength);
//else if (sTemp.Length < IVLength)
// sTemp = sTemp.PadRight(IVLength, ' ');
return ASCIIEncoding.ASCII.GetBytes(sTemp);
}
/// <summary>
/// 加密方法
/// </summary>
/// <param name="Source">待加密的串</param>
/// <returns>經過加密的串</returns>
public static string Encrypt(string Source) {
try {
byte[] bytIn = UTF8Encoding.UTF8.GetBytes(Source);
MemoryStream ms = new MemoryStream();
mydes.Key = GetLegalKey();
mydes.IV = GetLegalIV();
ICryptoTransform encrypto = mydes.CreateEncryptor();
CryptoStream cs = new CryptoStream(ms, encrypto, CryptoStreamMode.Write);
cs.Write(bytIn, 0, bytIn.Length);
cs.FlushFinalBlock();
ms.Close();
byte[] bytOut = ms.ToArray();
return Convert.ToBase64String(bytOut);
} catch (Exception ex) {
throw new Exception("在文件加密的時候出現錯誤!錯誤提示: \n" + ex.Message);
}
}
/// <summary>
/// 解密方法
/// </summary>
/// <param name="Source">待解密的串</param>
/// <returns>經過解密的串</returns>
public static string Decrypt(string Source) {
try {
byte[] bytIn = Convert.FromBase64String(Source);
MemoryStream ms = new MemoryStream(bytIn, 0, bytIn.Length);
mydes.Key = GetLegalKey();
mydes.IV = GetLegalIV();
ICryptoTransform encrypto = mydes.CreateDecryptor();
CryptoStream cs = new CryptoStream(ms, encrypto, CryptoStreamMode.Read);
StreamReader sr = new StreamReader(cs);
return sr.ReadToEnd();
} catch (Exception ex) {
throw new Exception("在文件解密的時候出現錯誤!錯誤提示: \n" + ex.Message);
}
}
/// <summary>
/// 加密方法byte[] to byte[]
/// </summary>
/// <param name="Source">待加密的byte數組</param>
/// <returns>經過加密的byte數組</returns>
public static byte[] Encrypt(byte[] Source) {
try {
byte[] bytIn = Source;
MemoryStream ms = new MemoryStream();
mydes.Key = GetLegalKey();
mydes.IV = GetLegalIV();
ICryptoTransform encrypto = mydes.CreateEncryptor();
CryptoStream cs = new CryptoStream(ms, encrypto, CryptoStreamMode.Write);
cs.Write(bytIn, 0, bytIn.Length);
cs.FlushFinalBlock();
ms.Close();
byte[] bytOut = ms.ToArray();
return bytOut;
} catch (Exception ex) {
throw new Exception("在文件加密的時候出現錯誤!錯誤提示: \n" + ex.Message);
}
}
/// <summary>
/// 解密方法byte[] to byte[]
/// </summary>
/// <param name="Source">待解密的byte數組</param>
/// <returns>經過解密的byte數組</returns>
public static byte[] Decrypt(byte[] Source) {
try {
byte[] bytIn = Source;
MemoryStream ms = new MemoryStream(bytIn, 0, bytIn.Length);
mydes.Key = GetLegalKey();
mydes.IV = GetLegalIV();
ICryptoTransform encrypto = mydes.CreateDecryptor();
CryptoStream cs = new CryptoStream(ms, encrypto, CryptoStreamMode.Read);
StreamReader sr = new StreamReader(cs);
return UTF8Encoding.UTF8.GetBytes(sr.ReadToEnd());
} catch (Exception ex) {
throw new Exception("在文件解密的時候出現錯誤!錯誤提示: \n" + ex.Message);
}
}
/// <summary>
/// 加密方法File to File
/// </summary>
/// <param name="inFileName">待加密文件的路徑</param>
/// <param name="outFileName">待加密後文件的輸出路徑</param>
public static void Encrypt(string inFileName, string outFileName) {
try {
FileStream fin = new FileStream(inFileName, FileMode.Open, FileAccess.Read);
FileStream fout = new FileStream(outFileName, FileMode.OpenOrCreate, FileAccess.Write);
fout.SetLength(0);
mydes.Key = GetLegalKey();
mydes.IV = GetLegalIV();
byte[] bin = new byte[100];
long rdlen = 0;
long totlen = fin.Length;
int len;
ICryptoTransform encrypto = mydes.CreateEncryptor();
CryptoStream cs = new CryptoStream(fout, encrypto, CryptoStreamMode.Write);
while (rdlen < totlen) {
len = fin.Read(bin, 0, 100);
cs.Write(bin, 0, len);
rdlen = rdlen + len;
}
cs.Close();
fout.Close();
fin.Close();
} catch (Exception ex) {
throw new Exception("在文件加密的時候出現錯誤!錯誤提示: \n" + ex.Message);
}
}
/// <summary>
/// 解密方法File to File
/// </summary>
/// <param name="inFileName">待解密文件的路徑</param>
/// <param name="outFileName">待解密後文件的輸出路徑</param>
public static void Decrypt(string inFileName, string outFileName) {
try {
FileStream fin = new FileStream(inFileName, FileMode.Open, FileAccess.Read);
FileStream fout = new FileStream(outFileName, FileMode.OpenOrCreate, FileAccess.Write);
fout.SetLength(0);
byte[] bin = new byte[100];
long rdlen = 0;
long totlen = fin.Length;
int len;
mydes.Key = GetLegalKey();
mydes.IV = GetLegalIV();
ICryptoTransform encrypto = mydes.CreateDecryptor();
CryptoStream cs = new CryptoStream(fout, encrypto, CryptoStreamMode.Write);
while (rdlen < totlen) {
len = fin.Read(bin, 0, 100);
cs.Write(bin, 0, len);
rdlen = rdlen + len;
}
cs.Close();
fout.Close();
fin.Close();
} catch (Exception ex) {
throw new Exception("在文件解密的時候出現錯誤!錯誤提示: \n" + ex.Message);
}
}
#endregion
#region MD5加密
/// <summary>
/// 對字元串進行MD5加密
/// </summary>
/// <param name="str">要加密的字元串</param>
/// <returns>加密後結果</returns>
public static string StringToMD5(string str) {
return System.Web.Security.FormsAuthentication.(str, "MD5");
}
#endregion
④ 有可以對源代碼加密軟體嗎,防員工泄密
目前我所知道的對源代碼加密的辦法有兩種:一種是物理性的「源代碼加密」,一種是軟體性的源代碼加密。
物理性「源代碼加密」就是指截斷外網,封掉U口或者鎖機箱,讓開發者處於一種封閉的狀態。這種方法是可以達到效果的,弊端就是如若封掉U口,對於員工的工作使用會造成很大的影響,大大降低了工作的效率,並且員工開發查資料很不方便,如若給每人配一台電腦,公司的成本將大大提高。這樣的操作方式員工的抵觸心裡也會頗大。
軟體性的源代碼加密是指通過軟體對源碼進行保護。目前市面上最流行的源代碼加密軟體機制是一種對開發人員的操作環境進行加密的軟體,不用對任何硬體做修改,開發人員的源代碼只能存放在公司范圍里,拿不出加密的空間。如果想要拿出文件的話則需走審批流程。
推薦使用SDC沙盒,選它的原因第一廠商服務挺好,第二加密時不改變源文件類型、大小,而且開發人員可以自由上網並且不用擔心泄密。這樣跟我們公司的需求正好吻合,也不會影響到員工的開發情緒,員工也可以自由上網查詢資料。
⑤ 怎麼查看巨石加密程序代碼
1、首先打開電腦,進入到電腦桌面中。
2、其次點擊桌面中的巨石加密軟體,進入到軟體界面中。
3、最後點擊界面中的查看程序代碼,即可查看。
⑥ 如何對公司的源代碼加密
對公司源代碼加密的話 我推薦使用域之盾軟體 以下是軟體加密的具體流程 希望可以幫到你。
1,首先安裝軟體 安裝完成後 開啟 透明加密。對重要文件進行加密。
2,通過 軟體限制陌生u盤的試用,設置只讀或禁止使用。對常用U盤設置白名單
3,開啟軟體的外發審核,外發的一切文件資料 等 需要管理員審核否則非法外發 即為亂碼。
⑦ 怎麼給電腦軟體加密碼(怎麼給電腦軟體設密碼)
您好,現在我來為大家解答以上的問題。怎麼給電腦軟體加密碼,怎麼給電腦軟體設密碼相信很多小夥伴還不知道,現在讓我們一起來看看吧!1、...
您好,現在我來為大家解答以上的問題。怎麼給電腦軟體加密碼,怎麼給電腦軟體設密碼相信很多小夥伴還不知道,現在讓我們一起來看看吧!
1、軟體設置密碼需要看軟體本身是否具備這個功能,假如有密碼功能就可以設置密碼。
2、電腦可以設置登入密碼,在控制面板,賬號中心設置密碼即可。
⑧ VB 加密與解密的程序代碼
加密:
PrivateFunction JiaMi(ByVal varPass As String) As String '參數varPass是需要加密的文本內容
Dim varJiaMi As String * 20
Dim varTmp As Double
Dim strJiaMi As String
Dim I
For I = 1 To Len(varPass)
varTmp = AscW(Mid$(varPass, I, 1))
varJiaMi = Str$(((((varTmp * 1.5) / 5.6) * 2.7) * I))
strJiaMi = strJiaMi & varJiaMi
NextI
JiaMi = strJiaMi
EndFunction
解密函數:
PrivateFunction JieMi(ByVal varPass As String) As String '參數varPass是需要解密的密文內容
Dim varReturn As String * 20
Dim varConvert As Double
Dim varFinalPass As String
Dim varKey As Integer
Dim varPasslenth As Long
varPasslenth = Len(varPass)
For I = 1 To varPasslenth / 20
varReturn = Mid(varPass, (I - 1) * 20 + 1, 20)
varConvert = Val(Trim(varReturn))
varConvert = ((((varConvert / 1.5) * 5.6) / 2.7) / I)
varFinalPass = varFinalPass & ChrW(Val(varConvert))
NextI
JieMi = varFinalPass
EndFunction
注意事項
編寫加密程序,將用戶輸入的一個英文句子加密為加密字元串,然後輸出加密字元串。假設句子長度不超過100個字元。
根據給定的句子加密函數原型SentenceEncoding,編寫函數SentenceEncoding調用給定的字元加密函數CharEncoding完成句子加密。
然後,編寫主程序提示用戶輸入英文句子,然後調用函數SentenceEncoding對句子加密,最後輸出加密後的句子。
字元加密規則為大寫字母和小寫字母均加密為其補碼, 我們定義ASCII碼值相加為』A』+』Z』即155的兩個大寫字母互為補碼,ASCII碼值相加為』a』+』z』即219的兩個小寫字母互為補碼。
空格用@代替,句號以#代替,其它字元用句點代替。
函數原型:
void SentenceEncoding(char *soure,char *code);
功能:對待加密字元串source加密後保存加密字元串到code.
參數:char *soure,指向待加密句子的字元串指針;
char *code 指向加密字元串的字元串指針;
字元加密函數代碼。
⑨ 求推薦一款源代碼加密軟體
源代碼加密軟體,我推薦上海安秉信息,完整源代碼防泄密解決方案,讓企業源代碼不在有泄露的風險。
軟體可以做到讓企業源代碼在員工本地是加密狀態,在svn及git伺服器也是密文狀態並且不影響 員工的正常操作使用。
上海安秉專業源代碼防泄密10年,讓源代碼不在有泄露的情況發生!