semvec/pypi-packages huggingface dataset:
mycrypt 1.0.2
Python Crypt Libary
License: MIT
Requires Python: >=3.8.*
Keywords: Python Crypt Libary

# MyCrypt Libary

# Install
## Install pip
```PowerShell
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip install -U pip
```
## Install package
```python
pip install mycrypt
```
## Install version
You can install a specific version by specifying a version. As a rule, however, it is recommended to use the latest one.
```python
pip install mycrypt==0.0.3
```

## PyPi Project
You can view the PyPi project on the website. 
Link: [PyPi  MyCrypt](https://pypi.org/project/mycrypt/)



## Python dependencies
You can find all the dependencies [here](https://github.com/Riffecx/myCrypt/blob/main/requirements.txt). However, these are installed automatically.


# Usage 
## Analyse
### Frequency Long Analyse
The function returns a list of tuples of the form ``(string, int)``. This contains the number of the respective characters. A distinction is made between upper and lower case. 
```python 
import mycrypt as mc
out = mc.frequency_long("Hello World")
```
### Frequency Short Analyse
The function returns a list of tuples of the form ``(string, int)``. This contains the number of the respective characters. There is no distinction between upper and lower case. 
```python 
import mycrypt as mc
out = mc.frequency_short("Hello World")
```
## Output
Honestly, these functions were created in development. Nevertheless, since they are practical, I let them live. 

### Frequency Long Output

```python
import mycrypt as mc
mc.frequency_long_output("Hallo Welt")
```

### Frequency Short Output
```python
import mycrypt as mc
mc.frequency_short_output("Hallo Welt")
```

The two functions do not return anything. They only generate an output. Furthermore, a list can be entered in addition to the string. In this respect, please use the functions from ``analyze`` .


## Caeser Crypt
### 	Encrypt String
The function returns a string.
```python
import mycrypt as mc
# mc.ceaser_encrypt_string(str, int)
out = mc.ceaser_encrypt_string("Hallo Welt", 3)
print(out)
```
### Decrypt String
The function returns a string.
```python
import mycrypt as mc
# mc.ceaser_decrypt_string(str, int)
out = mc.ceaser_decrypt_string("Hallo Welt", 3)
print(out)
```

### Encrypt File
This function does not return a return value. It creates an encrypted file. 
```python
import mycrypt as mc
# mc.ceaser_encrypt_file(str, int)
mc.ceaser_encrypt_file("/.../file.txt", 3)
```

### Decrypt File
This function does not return a return value. It creates an decrypted file. 
```python
import mycrypt as mc
# mc.ceaser_decrypt_file(str, int)
mc.ceaser_decrypt_file("/.../file.txt", 3)
```