Skip to main content

SecureBase Python Library

Project description

TR

SecureBase kütüphanesi standart base64 algoritmasına ek olarak gizli anahtar seçeneği sunmaktadır. Böylelikle kütüphaneyi kullanan projelere özgü base64 işlemi gerçekleşir. Her projenin gizli anahtarı farklı olacağından oluşan base64 çıktısıda gizli anahtara bağlı olarak değişir.

Detaylı bilgi için aşağıdaki kaynağı inceleyiniz.

SecureBase Wiki

Kullanım/Örnek

from SecureBase import SecureBase, SBEncoding
#enc = SBEncoding.UNICODE
enc = SBEncoding.UTF8
sb = SecureBase(encoding=enc)
sb.set_secret_key("set-secret-key")

#Text to Base64
encoded = sb.encode(inputdata)

#Base64 to Text
decoded = sb.decode(inputdata)

EN

The SecureBase library offers a secret key option in addition to the standard base64 algorithm. Since the secret key will be different in each project, the base64 output will also vary depending on the secret key.

For detailed information, please review the source below.

SecureBase Wiki

Using/Example

from SecureBase import SecureBase, SBEncoding
#enc = SBEncoding.UNICODE
enc = SBEncoding.UTF8
sb = SecureBase(encoding=enc)
sb.set_secret_key("set-secret-key")

#Text to Base64
encoded = sb.encode(inputdata)

#Base64 to Text
decoded = sb.decode(inputdata)

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

securebase-1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

SecureBase-1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file securebase-1.1.tar.gz.

File metadata

  • Download URL: securebase-1.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for securebase-1.1.tar.gz
Algorithm Hash digest
SHA256 b25cd316864a8e115495eb3a57fd3526c494c0d58dc44e664ba347e617a151c3
MD5 f322f57ccbd393d7c427b9ce09b30f20
BLAKE2b-256 f6f3cc2acd3fcc2298fc1626237b50cdffa1859fc4f840981f2ac8664530b65f

See more details on using hashes here.

File details

Details for the file SecureBase-1.1-py3-none-any.whl.

File metadata

  • Download URL: SecureBase-1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for SecureBase-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f914b1ea32abe5afdd102278a552746c636a401fc6f75018999eb07fe039e233
MD5 f59fd796756ac8735a691903f7034dc5
BLAKE2b-256 5a56611bc2f65b11dd8d9b67803442c76cb728f0b5faf45ae3d0e47e8280d977

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