RSA Encryption

  • Thread starter Thread starter awk
  • Start date Start date
A

awk

Can anyone point me in the direction of a tutorial
that covers the best (or at least well recommended) way
of implementing RSA encryption. Please not code examples
that deal with small strings that produce byte arrays of 116 elements
or less are not much use as they fall over when dealing with large strings.

Thanks
 
awk said:
Can anyone point me in the direction of a tutorial
that covers the best (or at least well recommended) way
of implementing RSA encryption. Please not code examples
that deal with small strings that produce byte arrays of 116 elements
or less are not much use as they fall over when dealing with large
strings.

RSA isn't used to encrypt large strings or byte arrays. In fact, the maximum
number of bytes that can be encrypted with RSA depends on the key size that
you use [117 bytes with a 1024 bit key, 245 bytes with a 2048 bit key, etc].
RSA is typically used to encrypt the key of a symmetric bulk cipher, such as
TripleDES or Rijndael. The actual data is then encrypted with that symmetric
algorithm using the RSA encrypted key.

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl
 
Thanks Pieter

What is the most robust of the symmetric algorythms to do bulk ciphering.

Awk

Pieter Philippaerts said:
awk said:
Can anyone point me in the direction of a tutorial
that covers the best (or at least well recommended) way
of implementing RSA encryption. Please not code examples
that deal with small strings that produce byte arrays of 116 elements
or less are not much use as they fall over when dealing with large
strings.

RSA isn't used to encrypt large strings or byte arrays. In fact, the maximum
number of bytes that can be encrypted with RSA depends on the key size that
you use [117 bytes with a 1024 bit key, 245 bytes with a 2048 bit key, etc].
RSA is typically used to encrypt the key of a symmetric bulk cipher, such as
TripleDES or Rijndael. The actual data is then encrypted with that symmetric
algorithm using the RSA encrypted key.

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl
 
Rijndael is the best and the fastest one, and it is written in managed code.

Etienne

awk said:
Thanks Pieter

What is the most robust of the symmetric algorythms to do bulk ciphering.

Awk

Pieter Philippaerts said:
awk said:
Can anyone point me in the direction of a tutorial
that covers the best (or at least well recommended) way
of implementing RSA encryption. Please not code examples
that deal with small strings that produce byte arrays of 116 elements
or less are not much use as they fall over when dealing with large
strings.

RSA isn't used to encrypt large strings or byte arrays. In fact, the maximum
number of bytes that can be encrypted with RSA depends on the key size that
you use [117 bytes with a 1024 bit key, 245 bytes with a 2048 bit key, etc].
RSA is typically used to encrypt the key of a symmetric bulk cipher,
such
as
TripleDES or Rijndael. The actual data is then encrypted with that symmetric
algorithm using the RSA encrypted key.

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl
 
Thanks Etienne

Etienne Charland said:
Rijndael is the best and the fastest one, and it is written in managed code.

Etienne

awk said:
Thanks Pieter

What is the most robust of the symmetric algorythms to do bulk ciphering.

Awk

Pieter Philippaerts said:
Can anyone point me in the direction of a tutorial
that covers the best (or at least well recommended) way
of implementing RSA encryption. Please not code examples
that deal with small strings that produce byte arrays of 116 elements
or less are not much use as they fall over when dealing with large
strings.

RSA isn't used to encrypt large strings or byte arrays. In fact, the maximum
number of bytes that can be encrypted with RSA depends on the key size that
you use [117 bytes with a 1024 bit key, 245 bytes with a 2048 bit key, etc].
RSA is typically used to encrypt the key of a symmetric bulk cipher,
such
as
TripleDES or Rijndael. The actual data is then encrypted with that symmetric
algorithm using the RSA encrypted key.

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl
 
Back
Top