a basic ciphering/deciphering tool
Project description
ckrett-python-library
version-1.5.0
This is an useful python library for people who care about privacy, this library is useful to cipher and decipher text using 6 simple functions.Available operations in ckret library:
1.syph() -----> cypherises the user input text
2.dsyph() -----> decypherises the user input text to plain text
3.ksyph() ------> cypherises the user input text with unique 6 digit security key
4.kdsyph() -------> decypherises the text only when 6 digit security key is provided correctly
5.morse() -----> converts plain english text into morse code
6.dmorse() -----> converts morse code into plain english text
7.stot() -------> converts speech to text, can be used in place of input()
Prerequisites:
==> for speech recognition to work that is stot(), pyaudio, speechrecognition must be strictly pre-installed, otherwise you'll get an error.
==> if pyaudio, speechrecognition is already installed you can skip this step and proceed for installation
or
install pyaudio by executing the following commands in cmd before or after installing ckrett:
step-1 : $ pip install pipwin
step-2 : $ pipwin install pyaudio
pipwin is like pip, but it installs precompiled Windows binaries and depencies that are required for building and compiling pyaudio setup files
next install speechrecognition by executing the following commands in cmd
$ pip install speechrecognition
usecase example:
you can either use traditional input()
import ckrett
x=input()
msg=ckrett.syph(x)
print(msg)
or:
import ckrett
x=ckrett.stot()
msg=ckrett.syph(x)
print(msg)
u can change syph(),dsyph(),ksyph(),kdsyph(),morse(),dmorse() respectively depeding on your choice of ciphering
==>changes in 1.5.0:
$ added morse(),dmorse(),stot()
$ user can now convert plain english text into morse code and vice versa
$ using stot() user can dicate a sentence which is recognized using dependecies-pyaudio,pyttxs3,speech_recognition engine that can be stored in var x which can be used for ciphering directly from speech, instead of typing out the entire sentence using input().
note-1:
->stot() can only be used to give input in plain english, as special character or encrypted msg's arent recognized accurately
->use stot() for syph(),ksyph(),morse()
note-2:
->text ciphered using syph() can only be deciphered strictly by dsyph()
->text ciphered using ksyph() can only be deciphered strictly by kdsyph()
->text ciphered using morse() can only be deciphered strictly by dmorse()
note-3:
->in version 1.0.0,1.5.0 there is no support for characters --> @,#,$,%,^,&,*,(,),! , kindly avoid using them in your sentence.
->support for these charcaters will be added in next version (2.0.0)
for bug reports/issues ---> https://github.com/sasivatsal7122/ckret-library-pypi
happy ciphering, peace✌.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ckrett-1.5.0.tar.gz
.
File metadata
- Download URL: ckrett-1.5.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4a2a0435fa67cfbe400e911458dd5449faefc2b863032b32838ea151ab450a |
|
MD5 | 04f9cbe6c54098eb57e0923a8100cd6f |
|
BLAKE2b-256 | 34a64d365a877d772cfa4863cef40777b10ef11c1d9ee95e0366f878a3eb182d |
File details
Details for the file ckrett-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: ckrett-1.5.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 861064e4a461919a5608a48f40ac3666a4467a3232e6ceed2d815d73b0e3b733 |
|
MD5 | ffef833a86f2cf82c065b17595d85f64 |
|
BLAKE2b-256 | 345d22278b324a395b8db30b27017f5036d55b4f2e1f19b68649762affd04486 |