Welcome![Sign In][Sign Up]
Location:
Search - String Encryption in java

Search list

[Crack HackMySecurity

Description: 利用JAVA的encryption和decipher這二個方法來進行字串的加解密!-use JAVA encryption and decipher these two approaches to string the encryption and decryption.
Platform: | Size: 2048 | Author: 翁振銘 | Hits:

[JSP/JavaPassword

Description: java的源码,用于密码的加密,将任意字符串转成md5码,不可逆。-java source code for encryption, will be converted to md5 string of arbitrary code, irreversible.
Platform: | Size: 1024 | Author: 古月士 | Hits:

[JSP/Javablog_jsp20071104

Description: 与上一个 asp版本的相比较,功能上基本一样,由于是入门版,用的基本都是最基础的东西。只在截取字符串和 md5加密上用到了两个javaBeans,由于用的是以前的模版,一个星期就搞定了,总结了上次的经验,在页面调用,代码规范上做了很大的调整,希望对那些初学jsp的人带来一丝启发。。。 后台: 账号:admin 密码:admin-With the previous version of asp, compared to the same basic functions, as is the Starter Edition, use the basic are the most basic things. Only in the interception of the string and md5 encryption used on the two javaBeans, as a result of using a previous template, get a week, summed up the previous experience in the page call, code specification to do a lot of adjustments, jsp beginner to those who wish to bring a ray of inspiration. . . Background: Account: admin Password: admin
Platform: | Size: 1868800 | Author: 郑佳 | Hits:

[Crack HackMD5Code

Description: md5编码器,用于用户注册系统的密码加密功能,返回的32为字符串-md5 encoder for the user registration system encryption password, the return of 32 for the string
Platform: | Size: 4096 | Author: satanest | Hits:

[Crack HackAESMaker

Description: AES encryption and decryption tool, which can encrypt any string to a HEX number and decrypt in AES.
Platform: | Size: 1024 | Author: brian | Hits:

[JSP/JavaStringUtils

Description: 1.字符处理组件,包括数据编码的转换,数据简单加密解密以及其他数据的处理方法.具体说明请见Document\StringUtils.doc. 2.Class文件夹下存放的是编译好了的class文件,可以直接使用. 3.在sample下有该组件使用的jsp例子. 4.原代码请参照source文件夹下的StringUtils.java. 5.Enviroument文件中存放的SystemConfig.java是用来读取配置文件中内码外码信息的,在StringUtils.java中exchange()和getISO8859()将用到. 6.在用到decodeBase64(String data)方法解密中文加密后的字符时,需要进行GB2312转玛才能正确显示解码内容(中文).-1. Character processing components, including data encoding conversion, data encryption and decryption as well as other data on a simple approach. Specifically, see Document \ StringUtils.doc. 2.Class folder is stored in good to compile the class files, can be used directly. 3. In the sample under the jsp examples of the use of the component. 4. the original source codes, please refer to the folder under the StringUtils.java. 5.Enviroument files stored SystemConfig.java is used to read configuration file in the code information within the yards, in StringUtils.java the exchange () and getISO8859 () will be used. 6. In use decodeBase64 (String data) method to decrypt encrypted in Chinese characters, you need to switch to ma GB2312 correctly Display decoding (English).
Platform: | Size: 24576 | Author: fangmin | Hits:

[JSP/JavaJAVA

Description: 实现移位密码的加密,解密过程.移位密码,即向后移k位,k是密钥,是任意的。选用一个英文短语或单词作为密钥,去掉其中重复的字母得到一个无重复字母的字符串,然后将字母表中的其他字母依此写于此字母串之后。找出明文字母在原字母表中位置,则在加入密钥的字母表中该位置上的对应字母就是密文。-To realize the shift encryption and decryption process. Shift the password, that is, move backward k-bit, k is the key, is arbitrary. An English phrase or word used as a key, remove the duplicate letters which have no repeated letters of a string, and then the other letters in the alphabet so after writing this letter string. Expressly identify the alphabet letters in the original location, then add the key position on the alphabet letter that corresponds to ciphertext.
Platform: | Size: 2048 | Author: killer | Hits:

[Crack HackRSA

Description: 基于RSA的公钥加密、利用java中的相关类实现对指定字符串的加解密、实现图形界面-Based on RSA public key encryption, the use of java in the relevant class to achieve the specified string encryption and decryption, to achieve graphical interface
Platform: | Size: 20480 | Author: | Hits:

[JSP/JavaSHA1

Description: SHA1加密算法,返回的是二进制的字符串;如果要直接返回字节,可以用最后一个方法调用,然后在用base64转换为字符串。 注意:要把.txt后缀改为.java后缀-SHA1 encryption algorithm, returning is binary string, If you want to directly back to byte, can use the last method calls, then in base64 conversion to a string.
Platform: | Size: 2048 | Author: 胡斐 | Hits:

[Crack HackSource

Description: 用JAVA实现的AES算法,可对文件,字符串,byte数组加密,详细显示每一步加密过程,包含生成密匙,加密文件,用密钥k解密文件-AES algorithm using JAVA, may file a string, byte array encryption, the encryption process every step shown in detail, including key generation, encryption, file with the key k to decrypt the file
Platform: | Size: 1613824 | Author: kimifetch | Hits:

[androidMd5

Description: Md5.java是一个字符串加密算法类的代码文件,如果你在用JAVA开发一些应用,这个MD5算法类或许可以直接套用,代码中的关键部分带有注释,部分注释是英文的,不过认真看可以看懂。-Md5.java encryption algorithm is a string class code file, if you are developing some applications using JAVA, the MD5 algorithm may be directly applied to the class, a key part of the code with comments, some comments are in English, but a serious look can understand.
Platform: | Size: 4096 | Author: gpudn24 | Hits:

[OS programsrc

Description: 实习三 基于RSA的公钥加密 一、实习目的 1、 理解公钥密码算法,熟悉常有的密码算法:RSA、椭圆曲线密码体制 2、 以RSA加密算法为例,掌握公钥密码算法加解密过程的实现。 二、实习内容 以RSA为例,利用java中的相关类实现对指定字符串的加解密。 1、 生成公钥密钥对 (1)利用java中的KeypairGenerator类创建公钥密钥对,利用KeypairGenerator的静态方法getInstance()获得KeypairGenerator类型的对象,所需参数为加密算法的名称RSA。 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA") (2)利用KeyPairGenerator类的genKeyPair()方法返回生成的密钥对: KeyPair kp = kpg.genKeyPair() (3)返回此密钥对的公钥组件的引用和私钥组件的引用 PublicKey pbkey = kp.getPublic() PrivateKey prkey = kp.getPrivate() (4)将生成的公钥写入文件Skey_RSA_pub.dat FileOutputStream f1 = new FileOutputStream("Skey_RSA_pub.dat") ObjectOutputStream b1 = new ObjectOutputStream(f1) b1.writeObject(pbkey) 用同样的方法将私钥写入文件Skey_RSA_pri.dat -Internship RSA public key encryption based on three An internship purpose An understanding of public key cryptography algorithm, familiar with common cryptographic algorithms: RSA, elliptic curve cryptography 2, RSA encryption algorithm, for example, public key cryptography algorithm to achieve master encryption and decryption process. Second, the practical content In RSA, for example, the use of java in the relevant class implements the specified string encryption and decryption. 1, generates a public key pair (1) the use of java class in KeypairGenerator create a public key pair using KeypairGenerator static method getInstance () to get the object KeypairGenerator type parameters required for the encryption algorithm name RSA. KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA") (2) the use of genKeyPair KeyPairGenerator class () method returns the generated key pair: KeyPair kp = kpg.genKeyPair () References (3) Returns the public key component of this key an
Platform: | Size: 2048 | Author: 杨平 | Hits:

[OS programsrc

Description: 实习二 分组密码加密 一、实习目的 1、理解对称加密算法的原理,熟悉常用的对称加密算法:DES、TripleDES、Blowfish; 2、以DESede加密算法为例,掌握分组加密算法加、解密过程的实现。 二、实习内容 1.[基本要求] 以DES/DESede为例,利用java中的相关类实现对指定字符串的加、解密。 2.[实现提示] (1) 可以利用java中的KeyGenerator类创建对称秘钥,利用工厂类KeyGenerator的静态方法getInstance()获得KeyGenerator()类对象; (2) 方法getInstance()的参数为字符串类型,指定加密算法的名称如:Blowfish、DES、DESede、HmacMD5或HmacSHA1等; (3) 利用工厂类Cipher的对象可以创建密码器。同样的,getInstance()的参数为字符串类型,指定加密算法的名称 -Internship two block cipher encryption An internship purpose An understanding of the principles of symmetric encryption algorithms, symmetric encryption algorithms used are familiar: DES, TripleDES, Blowfish 2, DESede encryption algorithm, for example, plus master block encryption algorithm to achieve decryption process. Second, the practical content 1. [Basic requirements] With DES/DESede for example, the use of java in the relevant class implements the specified string encryption and decryption. 2. [Achieve prompt] (1) can be used to create a java class in KeyGenerator symmetric secret key, use the static method getInstance factory class KeyGenerator of () to get KeyGenerator () class object (2) the method getInstance () argument is a string type, specify the name of the encryption algorithm, such as: Blowfish, DES, DESede, HmacMD5 or HmacSHA1 etc. (3) the use of factory class Cipher objects can create a password control. The same, getInstance () argument is a string typ
Platform: | Size: 3072 | Author: 杨平 | Hits:

[GUI Developdes

Description: 基于DES的对称加密、利用java中的相关类实现对指定字符串的加解密、实现图形界面-DES based on symmetric encryption, the use of java in the relevant class implements the specified string encryption and decryption, implement graphical interface
Platform: | Size: 3072 | Author: free | Hits:

[CA authYush.java.tar

Description: This a new algorithm in which we encrypt on the basis of position of the character. Algorithm 1 for key generation and Algorithm 2 is for encryption Algorithm A1 Step1: Let the key be ‘k’. Step2: Multiply the index number +1 with its ASCII code of the character at that index-65. Step3: Sum all the values and mod 26. Step4: Return the key. Algorithm A2 Step1: Take the string which you want to encrypt. Step2: Find the number of spaces. Step3: We add 65 to number of space. Step4: Take a string s. Step5: Add character representing number of spaces to that string. Step6: Calculate the word length of all the words present in the string and 65 to it. Step7: Now append the character that represents the word length. Step8: Subtract the number 1 and Add the number 1 with the ASCII value of the characters at alternate position. Step9: Add the key to each character in the string. Step10: Subtract 65 and the value so obtained modulo 26. Step11: Cipher text obtained.-This is a new algorithm in which we encrypt on the basis of position of the character. Algorithm 1 for key generation and Algorithm 2 is for encryption Algorithm A1 Step1: Let the key be ‘k’. Step2: Multiply the index number +1 with its ASCII code of the character at that index-65. Step3: Sum all the values and mod 26. Step4: Return the key. Algorithm A2 Step1: Take the string which you want to encrypt. Step2: Find the number of spaces. Step3: We add 65 to number of space. Step4: Take a string s. Step5: Add character representing number of spaces to that string. Step6: Calculate the word length of all the words present in the string and 65 to it. Step7: Now append the character that represents the word length. Step8: Subtract the number 1 and Add the number 1 with the ASCII value of the characters at alternate position. Step9: Add the key to each character in the string. Step10: Subtract 65 and the value so obtained modulo 26. Step11: Cipher text obtained.
Platform: | Size: 1024 | Author: Aman Virmani | Hits:

CodeBus www.codebus.net