Skip to main content

Implementacja harcerskiego szyfru - Karolinki (i nie tylko)

Project description

Karolinkowy szyfrator czyli automatyzacja harcerskiego szyfru (i nie tylko tego)

(i nie, nie jestem harcerzem)

Instalacja

python -m pip install karolinka

Użycie

from karolinka import Karolinka

karolinka = Karolinka("KAROLINKA")
zaszyfrowana_wiad = karolinka.zaszyfruj("HARCERZ I HARCERKA")
odszyfrowana_wiad = karolinka.odszyfruj("8x2 1x9 7x8 3x9 5x9 7x1 7x3\t9x9\t8x2 8x3 7x1 3x9 5x9 1x3 1x1 1x2")
from karolinka import Cezar

przesuniecie = 4
cezar = Cezar(przesuniecie)
zaszyfrowana_wiad = cezar.zaszyfruj("HARCERZ I HARCERKA")
odszyfrowana_wiad = cezar.odszyfruj("LEWGIWD M LEWGIWOE")

Więcej w dokumentacji

Nie jesteś programistą? Chcesz tylko tego łatwo użyć? (Tylko szyfr karolinka)

Gotowe rozwiązanie: https://github.com/TexturedPolak/karolinka-frontend

lub: https://texturedpolak.github.io/karolinka-frontend/

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

karolinka-0.5.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

karolinka-0.5.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file karolinka-0.5.0.tar.gz.

File metadata

  • Download URL: karolinka-0.5.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for karolinka-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7dd9dc886302615f7db3ff25c625f759c95f28f991feb952e5c5fcc35e2179ca
MD5 75a06e97f751717f4773593f942b8483
BLAKE2b-256 57b83239e2c987061d230fa06c5d63d9edc8a01352b64885e181418a6392f88d

See more details on using hashes here.

Provenance

The following attestation bundles were made for karolinka-0.5.0.tar.gz:

Publisher: python-publish.yml on TexturedPolak/karolinka

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file karolinka-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: karolinka-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for karolinka-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87e55fee3450b982114fdb1e645060eb3847a3dbb1b6edd7198460ff98646c5e
MD5 7b4da1269b665b9a690b7447188c3422
BLAKE2b-256 7c754d8cb2cc293711ab312ea134c62861120e20984ad32a53bea23ba9a44821

See more details on using hashes here.

Provenance

The following attestation bundles were made for karolinka-0.5.0-py3-none-any.whl:

Publisher: python-publish.yml on TexturedPolak/karolinka

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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