The RSA algorithm is a block cipher in which the plaintext and ciphertext are integers between and for some .

  • Typically is bits ( decimal digits)

The security of the algorithm comes from the difficulty of factoring large numbers. Keys are functions of pairs of large, digit, prime numbers.