摘要:
1 private SymmetricAlgorithm mobjCryptoService; 2 private string Key; 3 /////<summary> 4 /////对称加密类的构造函数 5 /////</summary> 6 publicSymmetricMethod(){ 7 mobjCryptoService=newRijndaelManaged(); 8 Key="Guz(%&hj7x89H$yuBI0456FtmaT5&fvHUFCy76*h%(HilJ$lhj!y6&(*jkP87jH7"; 阅读全文
摘要:
一、MD5潜移默化公式 System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile( 你要加密的string字符串 , "MD5");//密码加密备注:MD5你可以换成SHA1 就是SHA1加密了,前提是你要引入 System.Web.dll 类库MS SQL和MySQL的MD5加密MS SQL:SELECT SUBSTRING(SYS.FN_VARBINTOHEXSTR(HASHBYTES('MD5','123456')),11,16) --换成32就 阅读全文
摘要:
<Style x:Key="hyberlinkEffect" TargetType="{x:Type Hyperlink}"> <Setter Property="Foreground" Value="#3D6490"></Setter> <Setter Property ="TextBlock.TextDecorations" Value ="{x:Null}" /> <Style.Triggers > <T 阅读全文