码迷,mamicode.com
首页 >  
搜索关键字:security context    ( 17701个结果
根据字符串生成MD5
1import java.security.MessageDigest;import java.security.NoSuchAlgorithmException;public class MD5 { // MD5変換 public static String Md5(String st...
分类:其他好文   时间:2014-05-17 01:01:56    阅读次数:215
windows登录安全账户文件SAM
windows的登录账号密码存放在系统文件Windows\System32\config\SAM文件中。SAM文件即security account manager的缩写,也就是安全账户管理文件。当我们登录系统时,系统会自动地和SAM文件比对。当你输入的用户名和密码与SAM文件中的加密数据符合时,你...
分类:Windows程序   时间:2014-05-16 19:44:25    阅读次数:401
asp.net 的加密Encode和解密Decode.
asp.net 的加密和解密(c#):1. 导入所需包:using System.IO;using System.Text;using System.Security.Cryptography;2.加密1)MD5普通加密//获取要加密的字段,并转化为Byte[]数组byte[] data = Sys...
分类:Web程序   时间:2014-05-16 18:53:50    阅读次数:375
线程池的使用,未完待续
#include "stdafx.h"#include #include #include using namespace std;INT i;VOID CALLBACK Fun(PTP_CALLBACK_INSTANCE Instancd,PVOID Context,PTP_WORK Work){...
分类:编程语言   时间:2014-05-16 06:42:47    阅读次数:421
Linux中的默认权限与隐藏权限(文件、目录)
一个文件(或目录)拥有若干个属性,包括(r/w/x)等基本属性,以及是否为目录(d)与文件(-)或连接文件(l)等属性。此外,Linux还可以设置其他系统安全属性,使用chattr来设置,以lsattr来查看,最重要的是可以设置其不可修改的特性,即便是文件的拥有者都不能进行修改。这个属性相当重要,尤其是在安全机制方面(security)。...
分类:系统相关   时间:2014-05-13 14:32:08    阅读次数:266
Android中使用Sqlite数据库 (一) 建表
一、实现一个类,继承SQLiteOpenHelper类,并实现构造函数,onCreate()onUpgrade()importandroid.content.Context; importandroid.database.DatabaseErrorHandler; importandroid.database.sqlite.SQLiteDatabase; importandroid.database.sqlite.SQLiteDatabase.CursorFactory..
分类:移动开发   时间:2014-05-13 12:29:11    阅读次数:344
Android 使用Sharedpreference共享参数
importjava.util.HashMap; importjava.util.Map; importandroid.content.Context; importandroid.content.SharedPreferences; publicclassMySharedpreference{ privateContextcontext; publicMySharedpreference(Contextcontext){ //TODOAuto-generatedconstructorstub this.co..
分类:移动开发   时间:2014-05-13 12:10:38    阅读次数:346
MyEclipse2014新增bug,尝鲜的朋友需注意NotFoundException: org.springframework.web.context.ContextLoaderListener
之前陆续用过MyEclipse8.5、MyEclipse9.1、MyEclipse10.5开发WEB项目,最近听说出了最新版叫MyEclipse2014,于是决定尝尝鲜,运行一个以前在MyEclipse10.5下写的工程,竟然报错如下: 严重: Error configuring application listener of class org.springframework.web.cont...
分类:编程语言   时间:2014-05-13 09:25:03    阅读次数:266
Hydra介绍及使用
Number one of the biggest security holes are passwords, as every password security study shows. Hydra is a parallized login cracker which supports numerous protocols to attack. New modules are easy to...
分类:其他好文   时间:2014-05-13 06:11:08    阅读次数:379
Android中SdCard的数据读写
importjava.io.FileNotFoundException; importjava.io.FileOutputStream; importjava.io.IOException; importandroid.R.integer; importandroid.content.Context; importandroid.os.Environment; publicclassFileService{ privateContextcontext; publicFileService(Contextcon..
分类:移动开发   时间:2014-05-13 02:59:18    阅读次数:329
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!