Rabin encryption algorithm

Source: Internet
Author: User
Tags modulus asymmetric encryption

Rabin algorithm is an asymmetric encryption algorithm based on Modulus square and square root of modulus.

0X01 encryption process set the private key p, Q is two prime, public key n=p*q. For clear text m and ciphertext C, define the following encryption procedure (Public Key cryptography procedure): The 0X02 decryption process calculates MP and MQ based on the following formula:
A usable YP and YQ are deduced according to the following formula:
The final result is calculated based on the following formula:
Can prove that each ciphertext corresponds to four original text, and the real original text generally need to according to the verification code to correspond.

Rabin encryption algorithm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.