Namespace: emsa

crypto/pkcs1~emsa

Methods

(static) encode(algo, hashed, emLen) → {String}

Create a EMSA-PKCS1-v1_5 padded message

Parameters:
Name Type Description
algo Integer

Hash algorithm type used

hashed Uint8Array

message to be encoded

emLen Integer

intended length in octets of the encoded message

Source:
See:
Returns:

encoded message

Type
String