Muneeb Kiani

Greenhorn
+ Follow
since Sep 08, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Muneeb Kiani

Hello! I want to assign value dynamically to javabean through "<jsp:setProperty>" tag. i want to asign value like this
.
but it give me error. "request.getParameter("user-name)" return a value from previous form. please tell me how can i initiate my bean dynamically. thanks
12 years ago
JSP
hi..!

i'm having this exception, when i tried to decrypt a msg coming frm server... "javax.crypto.BadPaddingException: Given final block not properly padded". here is my code.

Encryption code



Decryption Code:

12 years ago
hi all...!

can anybody tell me...how to convert BigInteger into Key...?

i'm trying to implement diffie-hellman, through my own algo... i have generated the keys(public, private, secret)... but can't cast secret key(BigINteger) into Key...
12 years ago
hello...!

i'm trying to implement a chat between client(j2me) and server(j2se), and all the communication will be encrypted(using RSA)... i'm using iaik-jce-me api for cryptography on both side... i m facing a problem, when i'm trying to decrypt a message on other side it throw an exception

iaik.me.security.CryptoException: Invalid PKCS#1 padding: length of encrypted message does not match modulus length! or
iaik.me.security.CryptoException: Invalid PKCS#1 padding: no leading zero! and sometimes it decrypt... please help me if anyone is familiar with such type of exception

Thanks...
12 years ago
hi...

i'm trying to writre a code for RSA encryption decryption, i founf a code from net, its work well with BigInteger, but whun i use string it show different ourput... follwing is my code..


12 years ago