Skip to content

I am learning&creating stuffs about cryptography.

Notifications You must be signed in to change notification settings

oz9un/crypto_basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 defines Cryptographic Message Syntax.

This function takes 'block length' as a parameter and applies padding on given plaintext according to block length.

About

I am learning&creating stuffs about cryptography.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages