cryptography « biginteger « 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 » biginteger » cryptography 

1. Why doesn't my implementation of ElGamal work for long text strings?    stackoverflow.com

I'm playing with the El Gamal cryptosystem, and my goal is to be able to encipher and decipher long sequences of text. El Gamal requires the plaintext to be an integer. ...

2. how to convert BigInteger to String in java    stackoverflow.com

i converted a string to BigInteger as follows:

 Scanner sc=new Scanner(System.in);
      System.out.println("enter the message");
      String msg=sc.next();
      ...

3. Java AES Encryption/Decryption using a BigInteger as a key    stackoverflow.com

Is it possible to encrypt/decrypt a string using AES with a BigInteger (given one, not a randomly generated number) as a key in Java?

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.