{"id":21091069,"url":"https://github.com/muhammedrahil/base64-encoder-and-decoder","last_synced_at":"2025-12-27T23:32:33.730Z","repository":{"id":130758228,"uuid":"549941706","full_name":"muhammedrahil/Base64-Encoder-And-Decoder","owner":"muhammedrahil","description":"A built-in module in Python, the base64 library offers functions for encoding and decoding binary data to and from base64 strings, effectively converting any binary data to plain text. A common encoding method called Base64 converts binary data into a string of printable ASCII characters","archived":false,"fork":false,"pushed_at":"2024-09-03T14:23:58.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T01:13:04.929Z","etag":null,"topics":["base64","decryption","django","django-framework","ecryption","python"],"latest_commit_sha":null,"homepage":"","language":null,"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/muhammedrahil.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-12T01:08:37.000Z","updated_at":"2024-09-03T14:24:05.000Z","dependencies_parsed_at":"2024-11-20T00:32:00.453Z","dependency_job_id":null,"html_url":"https://github.com/muhammedrahil/Base64-Encoder-And-Decoder","commit_stats":null,"previous_names":["muhammedrahil/base64-encoder-and-decoder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammedrahil%2FBase64-Encoder-And-Decoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammedrahil%2FBase64-Encoder-And-Decoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammedrahil%2FBase64-Encoder-And-Decoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammedrahil%2FBase64-Encoder-And-Decoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muhammedrahil","download_url":"https://codeload.github.com/muhammedrahil/Base64-Encoder-And-Decoder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532781,"owners_count":20306209,"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":["base64","decryption","django","django-framework","ecryption","python"],"created_at":"2024-11-19T21:43:06.433Z","updated_at":"2025-12-27T23:32:33.653Z","avatar_url":"https://github.com/muhammedrahil.png","language":null,"readme":"# Base64-Encoder-And-Decoder\n\nbase64 using Django encrypt and decrypt\n\nA built-in module in Python, the base64 library offers functions for encoding and decoding binary data to and from base64 strings, effectively converting any binary data to plain text. A common encoding method called Base64 converts binary data into a string of printable ASCII characters\n\n```\nimport base64\n```\n## encode primary key \n\n```\npk=kwargs.get('pk')\nenc = base64.b64encode(str(pk).encode('ascii'))\nenc=enc.decode()\n                \n```\n- eg: MjA=\n\n## decode primary key \n\n```\npk=kwargs.get('pk')\ndenc = base64.b64decode(pk)\npk = denc.decode('ascii')\n                \n```\n- eg: 15\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammedrahil%2Fbase64-encoder-and-decoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhammedrahil%2Fbase64-encoder-and-decoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammedrahil%2Fbase64-encoder-and-decoder/lists"}