Skip to main content

Bixor allows you to encrypt strings with Binary Xor.

Project description

Install

  • Linux

    python3 -m pip install bixor

  • Windows

    python -m pip install bixor

Author

Discord : Lactua#1806

Github: https://github.com/lactua

Documentation

  • Encrypt

    To encrypt a string with Bixor, you need in a first time import bixor.

      import bixor
    

    Encryption needs a key, and a content. The key allows you to decrypt the content in the future, it's like a password to get acces to your content.

    To encrypt you have to call the function encrypt and put the content and the key in parameters.

    Example :

      import bixor
      
      content = 'hello'
      key = 'world'
    
      encrypted = bixor.encrypt(content, key)
    
      print(encrypted)
    

    Output :

      1111110 1011100 1001010 1100011 1111001
    
  • Decrypt

    To encrypt a string with Bixor, you need in a first time import bixor.

      import bixor
    

    Decryption needs a key, and an encrypted binary. The key allows you to decrypt the encrypted binary.

    To decrypt you have to call the function decrypt and put the encrypted binary and the key in parameters.

    Example :

      import bixor
      
      encrypted_binary = '1111110 1011100 1001010 1100011 1111001'
      key = 'world'
    
      decrypted = bixor.encrypt(encrypted_binary, key)
    
      print(decrypted)
    

    Output :

      hello
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bixor-1.0.4.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

bixor-1.0.4-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file bixor-1.0.4.tar.gz.

File metadata

  • Download URL: bixor-1.0.4.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.3

File hashes

Hashes for bixor-1.0.4.tar.gz
Algorithm Hash digest
SHA256 af559c48aac9f5c4aeb2893cbb430cd63904acc1ada4086a277dfa5d9c4260f7
MD5 06f038974b08300417bf11858504267b
BLAKE2b-256 769c8cfe5ae93a2b51ed352f7ad99dfcce0d021cc002d11657d9f8a5c63cf67d

See more details on using hashes here.

File details

Details for the file bixor-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: bixor-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.3

File hashes

Hashes for bixor-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 84709625fed12a625862882c19ad9782f038c7bb8431324e05f8811b25dc3b57
MD5 5a8afb09937b516ef4307027fd1fe0aa
BLAKE2b-256 e9c180f2ffec03be06e354087b5ff196c070e8c6a5f1bbae1c292021abd8d67d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page