cryptography « bit « Java Data Type Q&A

Home
Java Data Type Q&A
1.bigdecimal
2.biginteger
3.bit
4.Boolean
5.byte
6.Calendar
7.cast
8.character
9.Date Time
10.Date Time Format
11.decimal
12.Development
13.double
14.enum
15.float
16.hexadecimal
17.Integer
18.Number
19.Number Format
20.primitive
21.SimpleDateFormat
22.string
23.StringBuffer
24.StringBuilder
25.StringTokenizer
26.substring
27.TimeZone
Java Data Type Q&A » bit » cryptography 

1. 128 bit data encryption using Java    stackoverflow.com

I need to store some sensitive data by encrypting it with atleast 128 bit key. I investigated into javax.crypto package and found that there are certain Cipher names, like PBEWithMD5AndDES or ...

2. Cracking a N bit RSA modulo numbers    stackoverflow.com

This is related to my previous post, where my only option was to have a RSA algorithm which seemed relatively weak. Let us assume that I want to encode a ...

3. Generating 128-bit keys with keytool    stackoverflow.com

Is there a way to generate a 128-bit key pair suitable for encryption using Sun's keytool program? It seems that the algorithms available in http://java.sun.com/javase/6/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator are either not ...

4. Java 256bit AES Encryption    stackoverflow.com

I need to implement 256 bit AES encryption, but all the examples I have found online use a "KeyGenerator" to generate a 256 bit key, but I would like to use ...

5. What type of encryption to use for 48-bit to 48-bit?    stackoverflow.com

I've got a bunch of 48-bit (6 byte) values that I need to encrypt symmetrically. The two requirements are:

  1. The resulting encrypted value needs to also be 48-bits (6 bytes) long. They ...

6. 256bit AES/CBC/PKCS5Padding with Bouncy Castle    stackoverflow.com

I am having trouble mapping the following JDK JCE encryption code to Bouncy Castles Light-weight API:

public String dec(String password, String salt, String encString) throws Throwable {
    // AES ...

7. Need library for the 3-DES cipher that supports 1-bit feedback cipher modes    stackoverflow.com

I couldn't find a java library that supports the CFB, OFB or CBC mode in the 1-bit stream mode. So far, the libraries I've tried (BouncyCastle and IAIK) only support ranges 8-64. ...

8. java.security.InvalidKeyException: Key length not 128/192/256 bits    stackoverflow.com

I am new to Java and was trying to use Hybrid cryptography using AES-128 Symmetric encryption and then RSA-1024 Asymmetric encryption on the generated symmetric key. Can someone help why I ...

9. How to de/encrypt with Rijndael (AES) and a Blocksize of 256 bits?    stackoverflow.com

For certain reasons i need to implement rijndael de/compression with a blocksize of 256 bits (reason: data is encrypted in php and php can do it...). How can i change the Blocksize ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.