Security Technical Overview

Local Navigation

Cryptographic algorithms and cryptographic codes that the RIM Cryptographic API supports

Symmetric block algorithms that the RIM Cryptographic API supports

Symmetric block algorithms use PKCS #5 for padding. The RIM® Cryptographic API supports the CBC, CFB, ECB, OFB, and X modes for all algorithms. The RIM Cryptographic API implements the modes separately from the symmetric block algorithms.

Algorithm

Key length (bits)

AES

128, 192, and 256

CAST5

128

DES

56

RC2

8 to 1024

RC5®

0 to 2040

Skipjack

80

Triple DES

112 and 168

Back To Top

Stream encryption algorithms that the RIM Cryptographic API supports

The RIM® Cryptographic API supports the ARC4 algorithm, with an unlimited key length, as the symmetric stream encryption algorithm.

The RIM Cryptographic API supports the ECIES algorithm, with an unlimited key length (160 bits to 571 bits for seeding), as the asymmetric stream encryption algorithm.

Back To Top

Asymmetric encryption algorithms that the RIM Cryptographic API supports

Algorithm

Key length (bits)

Type

ElGamal

512 to 4096

discrete logarithm

RSA® raw

512 to 4096

integer factorization

RSA with OAEP formatting

512 to 4096

integer factorization

RSA with PKCS #1 formatting (versions 1.5 and 2.0)

512 to 4096

integer factorization

Back To Top

Key agreement scheme algorithms that the RIM Cryptographic API supports

Algorithm

Key length (bits)

Type

Diffie-Hellman

512 to 4096

discrete logarithm

ECDH

160 to 571

(Elliptic Curve) discrete logarithm

ECMQV

160 to 571

(Elliptic Curve) discrete logarithm

KEA

1024

discrete logarithm

Back To Top

Signature scheme algorithms that the RIM Cryptographic API supports

If the signature scheme algorithm that a developer wants to use is the RSA® algorithm using ANSI® X9.31, ANSI X9.31 uses one of the following algorithms for the required message digest code: SHA-1, SHA-2, or RIPEMD-160.

Algorithm

Key length (bits)

Type

DSA

512 to 1024

discrete logarithm

ECDSA

160 to 571

(Elliptic Curve) discrete logarithm

ECNR

160 to 571

(Elliptic Curve) discrete logarithm

RSA® using ANSI X9.31

512 to 4096

integer factorization

RSA using PKCS #1 (versions 1.5 and 2.0)

512 to 4096

integer factorization

RSA using PSS

512 to 4096

integer factorization

Back To Top

Key generation algorithms that the RIM Cryptographic API supports

Algorithm

Key length (bits)

Type

Diffie-Hellman

512 to 4096

discrete logarithm

DSA

512 to 1024

discrete logarithm

Elliptic Curve

160 to 571

(Elliptic Curve) discrete logarithm

RSA®

512 to 2048

integer factorization

Back To Top

Message authentication codes that the RIM Cryptographic API supports

Code

Key length (bits)

CBC-MAC

variable (block cipher key length)

HMAC

variable

Back To Top

Message digest codes that the RIM Cryptographic API supports

Code

Digest length (bits)

MD2

128

MD4

128

MD5

128

RIPEMD

128, 160

SHA

160, 224, 256, 384, 512

Back To Top
Previous topic: RIM Cryptographic API

Was this information helpful? Send us your comments.