上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 203 下一页
摘要: 【思路】 反向凯撒加密的思路是让字符串先反向,再移位。 这种加密能保持和原文等长,比纯凯撒加密相对难猜。 【代码】 package com.hy.cypher; public class ReverseCaesar { // 加密 private static String encrypt(Stri 阅读全文
posted @ 2022-03-09 21:23 逆火狂飙 阅读(139) 评论(0) 推荐(0)
摘要: 【建表及充值】 create table emp_from( id number(12), name varchar2(10), age number(3), salary number(6), primary key(id) ) insert into emp_from select rownum 阅读全文
posted @ 2022-03-09 16:52 逆火狂飙 阅读(85) 评论(1) 推荐(0)
摘要: 【需求】 有一个List,要求每次处理100个。 【代码】 int n=1523;// 链表长度 int start=0,end; int STEP=100; for(;;){ end=start+STEP; if(end>n){ end=n; System.out.println("Start=" 阅读全文
posted @ 2022-03-09 16:35 逆火狂飙 阅读(55) 评论(0) 推荐(0)
摘要: 【代码】 package com.hy.datamasking; /** * 凯撒密码小实验 */ class CaesarCode { // 加密 private static String encrypt(String str){ char[] arr=str.toCharArray(); fo 阅读全文
posted @ 2022-03-09 15:51 逆火狂飙 阅读(274) 评论(0) 推荐(0)
摘要: 注意:此文为在下工作记录,未必对您有用。 【读表写入csv文件程序】 package com.hy.datamasting; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; i 阅读全文
posted @ 2022-03-09 12:11 逆火狂飙 阅读(135) 评论(0) 推荐(0)
摘要: 【数据库版本】Oracle11g 【硬件】Thinkpadt440p 以下是详细步骤,其中主键规整设定两步可以按需求调整。 【建初始表 秒出】 create table emp_init( id number(12), name varchar2(20), age number(3), salary 阅读全文
posted @ 2022-03-09 06:05 逆火狂飙 阅读(458) 评论(0) 推荐(0)
摘要: 用Html5/Canvas绘制红底上下渐变黄五星玻璃光球。 阅读全文
posted @ 2022-03-08 16:34 逆火狂飙 阅读(53) 评论(0) 推荐(0)
摘要: 注意以下操作在dos窗口里进行,不是sqlplus。 【单表导出】 命令: exp luna/1234@orcl file=c:\temp\123.dump tables=(test05); 其中luna是用户名,1234是密码,orcl是服务名,test05是表名 执行情况: C:\WINDOWS 阅读全文
posted @ 2022-03-08 15:45 逆火狂飙 阅读(510) 评论(3) 推荐(0)
摘要: 来源:https://www.cnblogs.com/ivictor/p/4476031.html DBMS_RANDOM是Oracle提供的一个PL/SQL包,用于生成随机数据和字符。它具有以下函数。 其中,initialize,random,terminate函数在Oracle11g中已不推荐使 阅读全文
posted @ 2022-03-08 08:32 逆火狂飙 阅读(548) 评论(0) 推荐(0)
摘要: 【思路】 按位置将模式分为三组,使用子模式保留前后两组,中间部分替换成星号。 【代码】 String str="abcdefghij"; String newStr=str.replaceAll("(\\w{3})(\\w{4})(\\w{3})","$1****$3"); System.out.p 阅读全文
posted @ 2022-03-07 21:05 逆火狂飙 阅读(1082) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 203 下一页
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东