Click here to Skip to main content
15,896,063 members
Home / Discussions / Java
   

Java

 
SuggestionRe: How to send Email using VB 6.0 Pin
AlphaDeltaTheta4-Jun-13 5:36
AlphaDeltaTheta4-Jun-13 5:36 
QuestionParallel processing of two methods in main class Pin
Sachin k Rajput 1-Jun-13 0:30
Sachin k Rajput 1-Jun-13 0:30 
AnswerRe: Parallel processing of two methods in main class Pin
Richard MacCutchan1-Jun-13 4:28
mveRichard MacCutchan1-Jun-13 4:28 
QuestionPut and order values in a List Pin
Ghandil31-May-13 8:36
Ghandil31-May-13 8:36 
AnswerRe: Put and order values in a List Pin
Prasad Khandekar3-Jun-13 3:45
professionalPrasad Khandekar3-Jun-13 3:45 
QuestionCipherInputStream.read(byte[]) Dropping Final Block Pin
Skippums31-May-13 6:40
Skippums31-May-13 6:40 
SuggestionRe: CipherInputStream.read(byte[]) Dropping Final Block Pin
AlphaDeltaTheta31-May-13 21:51
AlphaDeltaTheta31-May-13 21:51 
AnswerRe: CipherInputStream.read(byte[]) Dropping Final Block Pin
AlphaDeltaTheta31-May-13 22:06
AlphaDeltaTheta31-May-13 22:06 
Skippums wrote:
1. encryptedBytes.length == 32,


In PKCS5 padding used here, the block length is fixed( may be 16), since the bytes available are insufficient, the call is blocked until the full 32 bytes arrive the stream or end of stream is detected, that is -1 is returned from the parent stream (ByteArrayInputStream in this case).

A cryptanalyst will be able to explain you better about the working of the padding schemes and ciphers.
GeneralRe: CipherInputStream.read(byte[]) Dropping Final Block Pin
Skippums3-Jun-13 7:26
Skippums3-Jun-13 7:26 
AnswerRe: CipherInputStream.read(byte[]) Dropping Final Block Pin
Skippums3-Jun-13 7:33
Skippums3-Jun-13 7:33 
SuggestionRe: CipherInputStream.read(byte[]) Dropping Final Block Pin
AlphaDeltaTheta3-Jun-13 17:05
AlphaDeltaTheta3-Jun-13 17:05 
GeneralRe: CipherInputStream.read(byte[]) Dropping Final Block Pin
Skippums4-Jun-13 4:47
Skippums4-Jun-13 4:47 
AnswerRe: CipherInputStream.read(byte[]) Dropping Final Block Pin
AlphaDeltaTheta4-Jun-13 5:30
AlphaDeltaTheta4-Jun-13 5:30 
GeneralRe: CipherInputStream.read(byte[]) Dropping Final Block Pin
Skippums4-Jun-13 6:33
Skippums4-Jun-13 6:33 
AnswerRe: CipherInputStream.read(byte[]) Dropping Final Block Pin
AlphaDeltaTheta4-Jun-13 6:41
AlphaDeltaTheta4-Jun-13 6:41 
QuestionNew in Java Pin
Garde33330-May-13 18:47
Garde33330-May-13 18:47 
QuestionRe: New in Java Pin
AlphaDeltaTheta30-May-13 20:42
AlphaDeltaTheta30-May-13 20:42 
AnswerRe: New in Java Pin
Garde33331-May-13 17:57
Garde33331-May-13 17:57 
AnswerRe: New in Java Pin
dusty_dex30-May-13 20:56
dusty_dex30-May-13 20:56 
AnswerRe: New in Java Pin
Richard MacCutchan30-May-13 21:18
mveRichard MacCutchan30-May-13 21:18 
GeneralRe: New in Java Pin
Garde33331-May-13 17:45
Garde33331-May-13 17:45 
GeneralRe: New in Java Pin
Richard MacCutchan31-May-13 21:41
mveRichard MacCutchan31-May-13 21:41 
GeneralRe: New in Java Pin
Pujara Jignesh2-Jun-13 0:12
Pujara Jignesh2-Jun-13 0:12 
AnswerRe: New in Java Pin
Amarnath S30-May-13 21:43
professionalAmarnath S30-May-13 21:43 
AnswerRe: New in Java Pin
jiyasharma18-Jun-13 1:48
jiyasharma18-Jun-13 1:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.