Description: 用matlab实现RSA算法,包括加密,解密,以MATLAB 编程实现-RSA algorithm using matlab realize, including encryption, decryption, in order to realize MATLAB Programming Platform: |
Size: 73728 |
Author:chu xiao |
Hits:
Description: 中国余数定理及Matlab代码实现,总共包括三个函数,eulerphi(p)函数用于计算the Euler s Totient Function of p,invmodn(x,p)函数计算the inverse modulo of x under p ,CRT(r,p)函数实现结果。-Description
eulerphi(p) computes the Euler s Totient Function of p where p is a positive integer and eulerphi(1)=1 by definition.
invmodn(x,p) computes the inverse modulo of x under p using repeated multiplication technique.This function can work for a long range of numbers.
CRT(r,p) computes the value of the system of equations that is described in the summary.
invmodn funtion comes in handy for use in RSA algorithm. Platform: |
Size: 2048 |
Author:木子 |
Hits: