2016年3月31日

linux c 验证登录密码

摘要: 1 #define _XOPEN_SOURCE 2 #include 3 #include 4 5 int main(int argc, char *argv[]) 6 { 7 unsigned char *md = NULL; 8 9 md = crypt("password", "salt"); 10 printf("%s\n", m... 阅读全文

posted @ 2016-03-31 16:49 埋头数月亮 阅读(320) 评论(0) 推荐(0) 编辑

linux c 打印彩色字符

摘要: \033[0m 表示恢复默认 阅读全文

posted @ 2016-03-31 16:17 埋头数月亮 阅读(277) 评论(0) 推荐(0) 编辑

导航