{"id":24975895,"url":"https://github.com/ttcong/hello-cryptography","last_synced_at":"2025-03-29T08:16:02.937Z","repository":{"id":231461432,"uuid":"54398698","full_name":"ttcong/hello-cryptography","owner":"ttcong","description":"Some hello-world examples about cryptography","archived":false,"fork":false,"pushed_at":"2017-04-26T06:11:40.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T21:58:26.722Z","etag":null,"topics":["cryptography","pycrypto","python"],"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/ttcong.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}},"created_at":"2016-03-21T15:06:15.000Z","updated_at":"2017-05-23T07:16:32.000Z","dependencies_parsed_at":"2024-04-04T05:25:14.694Z","dependency_job_id":"4bba378f-d315-4589-854d-0869208e1b32","html_url":"https://github.com/ttcong/hello-cryptography","commit_stats":null,"previous_names":["ttcong/hello-cryptography"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttcong%2Fhello-cryptography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttcong%2Fhello-cryptography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttcong%2Fhello-cryptography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttcong%2Fhello-cryptography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttcong","download_url":"https://codeload.github.com/ttcong/hello-cryptography/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246156417,"owners_count":20732397,"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":["cryptography","pycrypto","python"],"created_at":"2025-02-03T21:58:36.368Z","updated_at":"2025-03-29T08:16:02.906Z","avatar_url":"https://github.com/ttcong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hello-cryptography\n \nVài ví dụ hello-cryptography bằng python và thư viện pycrypto\n\n1. Mã hóa dữ liệu với thuật toán AES\n\nCú pháp: encrypt.py –m \u003cmode\u003e –i \u003cIV\u003e \u003ctên file input\u003e \u003ctên file output\u003e\n\n2. Giải mã dữ liệu với thuật toán AES\n\nCú pháp: decrypt.py –m \u003cmode\u003e \u003ctên file input\u003e \u003ctên file output\u003e\n\n3. Tính checksum của file với các thuật toán hex và kiểm tra có khớp với checksum cho trước không\n\nCú pháp: checksum.py –h \u003chash\u003e -c \u003cchecksum\u003e \u003ctên file input\u003e \n\nVới:\n + -h \u003chash\u003e là thuật toán hash để tạo checksum như md5, sha1, sha256\n \n + -c \u003cchecksum\u003e: checksum đua vào kiểm tra có khớp với checksum được tính từ file hay không, nếu có trường này thì sẽ kiểm tra checksum, nếu không có sẽ tính checksum của file và xuất ra output chuẩn\n\n4. Tạo chữ ký\n\nCú pháp: sign.py –h \u003chash\u003e  \u003ctên file input\u003e \u003ctên file sẽ ghi chữ ký vào\u003e\n\n5. Kiểm tra chữ ký\n\nCú pháp: very_sign.py –h \u003chash\u003e  \u003ctên file input\u003e \u003ctên file chứa chữ ký \u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttcong%2Fhello-cryptography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttcong%2Fhello-cryptography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttcong%2Fhello-cryptography/lists"}