<< NARVAL_S_RSADecryption NARVAL NARVAL_S_RSAe >>

NARVAL >> NARVAL > NARVAL_S_RSAEncryption

NARVAL_S_RSAEncryption

Perform the encryption of a message in respect with the RSA scheme.

Calling Sequence

[me] = NARVAL_S_RSAEncryption(n,e,m)

Parameters

n :

modulus.

e :

private exponent.

m :

message.

me :

encrypted message.

Description

NARVAL_S_RSAEncryption performs the encryption me of the message m in respect with the RSA scheme (WIKIPEDIA). n et e form the private key. The message m must be smaller than n (integer).

Examples

n=33;//modulus
e=3;//public exponent
d=7;//private exponent
m=20;//smaller than n
[me]=NARVAL_S_RSAEncryption(n,e,m);//application of NARVAL_S_RSAEncryption
m
me

Authors

Foued Melakessou

Contact

Dr. Foued Melakessou

Research Associate

Interdisciplinary Centre for Security, Reliability and Trust

Room F106

University of Luxembourg

6, rue Coudenhove Kalergi

L-1359 Luxembourg-Kirchberg

E-mail: foued.melakessou@uni.lu

Tel: (+352) 46 66 44 5346

Home Page


<< NARVAL_S_RSADecryption NARVAL NARVAL_S_RSAe >>