목차
없음
본문내용
// 복호화
for(i = 0 ; i < strlength ; i++){
c = ex_mod(cy[i],e,n);
py[i] = c;
}
printf("--------------decord result----------------\n");
for(i = 0 ; i < strlength ; i++)
printf("%c ",py[i]);
// printf("%s",py);
printf("hash_function\n");
//복호화한 문자열에 대해 해쉬함수 실행
dhash_result = hash_function(py,strlength);
for(i = 0 ; i < strlength ; i++){
c = ex_mod(cy[i],e,n);
py[i] = c;
}
printf("--------------decord result----------------\n");
for(i = 0 ; i < strlength ; i++)
printf("%c ",py[i]);
// printf("%s",py);
printf("hash_function\n");
//복호화한 문자열에 대해 해쉬함수 실행
dhash_result = hash_function(py,strlength);