{"id":13838370,"url":"https://github.com/oz9un/crypto_basics","last_synced_at":"2025-07-10T21:32:33.992Z","repository":{"id":51119000,"uuid":"289728921","full_name":"oz9un/crypto_basics","owner":"oz9un","description":"I am learning\u0026creating stuffs about cryptography.","archived":false,"fork":false,"pushed_at":"2021-10-12T18:40:32.000Z","size":16,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-05T15:07:23.710Z","etag":null,"topics":["crypto","cryptography","ctf","decode","encode"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oz9un.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-23T16:55:43.000Z","updated_at":"2023-07-24T05:58:19.000Z","dependencies_parsed_at":"2022-09-01T04:50:15.276Z","dependency_job_id":null,"html_url":"https://github.com/oz9un/crypto_basics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oz9un%2Fcrypto_basics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oz9un%2Fcrypto_basics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oz9un%2Fcrypto_basics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oz9un%2Fcrypto_basics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oz9un","download_url":"https://codeload.github.com/oz9un/crypto_basics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225657402,"owners_count":17503551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crypto","cryptography","ctf","decode","encode"],"created_at":"2024-08-04T15:01:53.354Z","updated_at":"2024-11-21T01:30:56.514Z","avatar_url":"https://github.com/oz9un.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# crypto_basics\n\u003e Ozgun Kultekin | 23.08.2020\n\nThis repository aims to learn stuff about cryptography. \nThis will be updated as the content becomes available\n\n## 1- Make your own base64 encoding with python.\nRelated writing about it: **https://medium.com/@ozgunkultekin/crypto-basics-understand-create-your-own-base64-encoding-with-python-a1481686a35a**\n\n\n## 2- Conversion: HEX to Base64 \n\nIt was just a little challenge to myself.\n\n**\"Converting hex to base64 format without importing anything.\"**\n\n\n## 3- Validation: Padding Validation\n\nIt checks if padding is valid according to given blocksize and plaintext.\n\nI used this code as a prestep for **AES encryption**. \n\n\n## 4- Conversion: PKCS #7 Padding\n\n[PKCS #7](https://en.wikipedia.org/wiki/Padding_(cryptography)#PKCS#5_and_PKCS#7) defines Cryptographic Message Syntax.\n\nThis function takes 'block length' as a parameter and applies padding on given plaintext according to block length. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foz9un%2Fcrypto_basics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foz9un%2Fcrypto_basics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foz9un%2Fcrypto_basics/lists"}