{"id":21476752,"url":"https://github.com/kazuhito00/onnx-model-encrypt-sample","last_synced_at":"2025-07-15T10:32:55.391Z","repository":{"id":41158563,"uuid":"471726781","full_name":"Kazuhito00/onnx-model-encrypt-sample","owner":"Kazuhito00","description":"ONNXモデルをpyca/cryptographyを用いて暗号化/復号化するサンプル","archived":false,"fork":false,"pushed_at":"2022-03-19T15:20:27.000Z","size":92791,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-04T13:14:50.652Z","etag":null,"topics":["cryptography","onnx"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kazuhito00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-19T14:56:16.000Z","updated_at":"2022-07-28T12:18:48.000Z","dependencies_parsed_at":"2022-09-01T13:42:37.214Z","dependency_job_id":null,"html_url":"https://github.com/Kazuhito00/onnx-model-encrypt-sample","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fonnx-model-encrypt-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fonnx-model-encrypt-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fonnx-model-encrypt-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fonnx-model-encrypt-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kazuhito00","download_url":"https://codeload.github.com/Kazuhito00/onnx-model-encrypt-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033263,"owners_count":17563125,"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","onnx"],"created_at":"2024-11-23T11:10:09.961Z","updated_at":"2024-11-23T11:10:10.567Z","avatar_url":"https://github.com/Kazuhito00.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# onnx-model-encrypt-sample\nONNXモデルを[pyca/cryptography](https://github.com/pyca/cryptography)を用いて暗号化/復号化するサンプルです。\u003cbr\u003e\n※Pythonスクリプトで実施する都合上、気休め程度です。\u003cbr\u003e　セキュリティを考慮した運用を考える場合、復号化するプログラムはC++等で実行ファイルを作成することをおすすめします。\n\n# Requirement \n* cryptography 36.0.2 or later\n* onnxruntime 1.10.0 or later\n\n# Usage\nサンプルの実行方法は以下です。\u003cbr\u003e\n各プログラムを実行後に任意のパスワードを入力してください。\u003cbr\u003e\n暗号化実施時には「resnet50-v1-12.dat」(ONNXモデルを暗号化したもの)を出力し\u003cbr\u003e\n復号化実施時には「resnet50-v1-12.dat」を読み込みます。\n```bash\npython encrypt_sample.py \nPassword:\n```\n```bash\npython decrypt_sample.py\nPassword:\n```\n\n# Reference\n* [pyca/cryptography](https://github.com/pyca/cryptography)\n\n# Author\n高橋かずひと(https://twitter.com/KzhtTkhs)\n \n# License \nonnx-model-encrypt-sample is under [Apache-2.0 License](LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fonnx-model-encrypt-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazuhito00%2Fonnx-model-encrypt-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fonnx-model-encrypt-sample/lists"}