212 reputation
16
bio website
location
age
visits member for 2 years, 5 months
seen Mar 7 at 7:00

May
5
comment What length should the padding be when encrypting or signing with RSA?
So... I understand from your answer that in the signature scheme where (as a licensing system) I'm signing a user's computer's hardware-id and returning it to the user's computer - having my application on that computer verify that the returned value is indeed the signed hardware-id: the following will be true:
May
3
comment What length should the padding be when encrypting or signing with RSA?
@fgrieu I'm converting a byte array to a BigInteger but first concatenating a new byte array to the end of the original one (before converting to BigInteger) and using that as $m$ in $m^d \bmod n$.
May
3
comment What length should the padding be when encrypting or signing with RSA?
@fgrieu concatenation. $(m+salt)^d \bmod n$ - Thanks. I was looking for that formatting.
May
3
comment What length should the padding be when encrypting or signing with RSA?
@fgrieu m^d mod n VS (m+salt)^d mod n
May
3
revised What length should the padding be when encrypting or signing with RSA?
deleted 23 characters in body; edited title
May
3
asked What length should the padding be when encrypting or signing with RSA?
Aug
10
comment What is the length of an RSA signature?
OK, I found the answer to that one here: stackoverflow.com/a/2922135/939213 - Yes, the modulus itself is 2048.
Aug
10
accepted What is the length of an RSA signature?
Aug
10
awarded  Commentator
Aug
10
comment What is the length of an RSA signature?
Thanks. And when we say 2048 bit encryption - Do we mean that N itself is 2048 bit?
Aug
10
comment What is the length of an RSA signature?
But since the signature is $m^d \bmod n$ - It seems that the length can even be $0$. Or are you referring to a system that will pad it as an extra feature?
Aug
10
asked What is the length of an RSA signature?
Apr
30
accepted How to sign a message using RSA?
Apr
30
comment How to sign a message using RSA?
Thanks. As for BigInteger - See this in .NET 4.0.
Apr
30
comment Why hash or salt when signing?
Thanks for the answer.
Apr
30
accepted Why hash or salt when signing?
Apr
27
comment Why hash or salt when signing?
Thanks. So if my message is short enough – there's no need. Correct?
Apr
27
comment Why hash or salt when signing?
Thanks. But I'm referring to signing, and so it seems unlikely (correct me if I'm wrong) that someone will have a table for a rainbow attack for all 100 bit combinations.
Apr
27
asked Why hash or salt when signing?
Apr
25
comment How to sign a message using RSA?
@CodeInChaos So you're saying it can't realistically be done in a simple manner (i.e. without spending a week studying cryptography), right? By the way, if you have some solution as to how I can create an activation key in a web hosting environment – where they have RSACryptoServiceProvider blocked – I'd be happy to hear about it.