<< NARVAL_S_RSA NARVAL NARVAL_S_RSAEncryption >>

NARVAL >> NARVAL > NARVAL_S_RSADecryption

NARVAL_S_RSADecryption

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

Calling Sequence

[md] = NARVAL_S_RSADecryption(n,d,m)

Parameters

n :

modulus.

d :

private exponent.

m :

encrypted message.

md :

decrypted message.

Description

NARVAL_S_RSADecryption performs the decryption md of the encrypted message m in respect with the RSA scheme (WIKIPEDIA). n et d form the public key.

Examples

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

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_RSA NARVAL NARVAL_S_RSAEncryption >>