Metadata-Version: 2.1
Name: myrsa
Version: 0.0.1
Summary: Simple use of RSA for asymmetric encryption and signature | 简单使用 rsa 进行非对称加密和签名
Home-page: https://github.com/taojy123/myrsa
Author: tao.py
Author-email: taojy123@163.com
Maintainer: tao.py
Maintainer-email: taojy123@163.com
License: MIT License
Description: # myrsa
        
        Simple use of RSA for asymmetric encryption and signature
        
        简单使用 rsa 进行非对称加密和签名
        
        Installation
        ```
        pip install myrsa
        ```
        
        Usage:
        ```python
        import myrsa
        
        pubkey, prikey = myrsa.newkeys()
        print((pubkey, prikey))
        
        message = 'Hello@世界'
        
        crypto = myrsa.encrypt(message, pubkey)
        print(crypto)
        
        message = myrsa.decrypt(crypto, prikey)
        print(message)
        
        signature = myrsa.sign(message, prikey)
        print(signature)
        
        verified = myrsa.verify(message, signature, pubkey)
        print(verified)
        ```
        
        
Platform: all
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown
