Skip to content

An easy to use library for encrypting, decrypting and signing messages. It can also be used to astablish an RSA/AES handshake.

License

Notifications You must be signed in to change notification settings

aarongsellin/pyShaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

pyShaker

pyShaker is an easy to use library that sets up an encrypted tunnel for sending and receiving data between two endpoints.

Installing

Download with git.

$ git clone https://github.com/mrikea4real/pyShaker

Examples

Client doing a handshake with a server:

>>> from pyShaker import * # Import shaker library
>>> import socket          # Import socket library
>>> 
>>> shaker = pyShaker.SetupShaker("10.10.10.10",8888) # Setup the shaker object, this acts as the tunnel for our data.
1
>>> shaker.send("testing") # Send encrypted message to the server
1
>>> shaker.close() # Close connection to server

Documentation

Default RSA encryption strength is set at 1024

SetupShaker(ip,port) - Returns shaker object and connects to server through TCP.

send(data) - Sends and encrypts data.

receive(size) - Receives and decrypts data.

close() - Close session and disconnect from the server.

Contributing

I would be more than happy to accpet contributions. These can come in the form of bug reports, feature requests and pure code!

Maintainers

  • @mrikea4real (Aaron Gotthardsson)

About

An easy to use library for encrypting, decrypting and signing messages. It can also be used to astablish an RSA/AES handshake.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published