Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oz9un/crypto_basics
I am learning&creating stuffs about cryptography.
https://github.com/oz9un/crypto_basics
crypto cryptography ctf decode encode
Last synced: 3 months ago
JSON representation
I am learning&creating stuffs about cryptography.
- Host: GitHub
- URL: https://github.com/oz9un/crypto_basics
- Owner: oz9un
- Created: 2020-08-23T16:55:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T18:40:32.000Z (about 3 years ago)
- Last Synced: 2024-06-30T09:19:25.372Z (5 months ago)
- Topics: crypto, cryptography, ctf, decode, encode
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# crypto_basics
> Ozgun Kultekin | 23.08.2020This repository aims to learn stuff about cryptography.
This will be updated as the content becomes available## 1- Make your own base64 encoding with python.
Related writing about it: **https://medium.com/@ozgunkultekin/crypto-basics-understand-create-your-own-base64-encoding-with-python-a1481686a35a**## 2- Conversion: HEX to Base64
It was just a little challenge to myself.
**"Converting hex to base64 format without importing anything."**
## 3- Validation: Padding Validation
It checks if padding is valid according to given blocksize and plaintext.
I used this code as a prestep for **AES encryption**.
## 4- Conversion: PKCS #7 Padding
[PKCS #7](https://en.wikipedia.org/wiki/Padding_(cryptography)#PKCS#5_and_PKCS#7) defines Cryptographic Message Syntax.
This function takes 'block length' as a parameter and applies padding on given plaintext according to block length.