Salesforce

Encryption - Supported Encryption Methods and Modes (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Encryption – Supported Encryption Methods and Modes (Magic xpi 4.13)

The Encryption component supports the following types of encryption.

Encryption Method

Method Code

Supported Modes

Key Length

BLOWFISH

1

ECB, CBC, CFB, OFB

Min: 1 Max: 56 Rec:16

CAST

2

ECB, CBC, CFB, OFB

Min: 5 Max: 16 Rec:8

RC2

5

ECB, CBC, CFB, OFB

Min: 5 Max: 16 Rec:8

RC5

7

ECB, CBC, CFB, OFB

Min: 1 Max: 255Rec:16

RC4

6

Not Supported

Min: 1 Max: NR Rec:16

Key Length key:

Min = Minimum; Max = Maximum; Rec = Recommended; NR =No restrictions

The key lengths for the methods in the table below can be specified as absolute values. The valid key length is any value specified in either of the Key Length columns, but not the values between them.

No. of Key lengths: Specifies how many keys are supported .

Supported key lengths: Specifies the supported key lengths.

Encryption Method

Method Code

No. of Key lengths

Supported Key Length

Recommended Key Length

Supported Modes

DES

3

1

8

8

ECB, CBC, CFB, OFB

DES3

8

2

16 or 24

24

ECB3, CBC3

The method in the table below supports an Asymmetric Encryption Method.

Encryption Method

Method Code

Key Length

RSA

9

Min: 48 Max: 2048 Rec:128

The Block cipher (including CBC) works on full blocks. If the last block is incomplete, it is padded with NULLs. Therefore, after deciphering, you should remove the padding. Alternatively, use the CFB or OFB stream ciphers.

Reference
Attachment 
Attachment