Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

# crypto_basics
> Ozgun Kultekin | 23.08.2020

This 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.