{"id":20071774,"url":"https://github.com/hello2mao/go-crypto-samples","last_synced_at":"2025-07-18T00:08:15.036Z","repository":{"id":144268284,"uuid":"298807036","full_name":"hello2mao/go-crypto-samples","owner":"hello2mao","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-21T12:27:48.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T11:49:21.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/hello2mao.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-26T12:13:50.000Z","updated_at":"2021-04-21T12:27:50.000Z","dependencies_parsed_at":"2023-09-07T16:23:56.313Z","dependency_job_id":null,"html_url":"https://github.com/hello2mao/go-crypto-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hello2mao/go-crypto-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hello2mao%2Fgo-crypto-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hello2mao%2Fgo-crypto-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hello2mao%2Fgo-crypto-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hello2mao%2Fgo-crypto-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hello2mao","download_url":"https://codeload.github.com/hello2mao/go-crypto-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hello2mao%2Fgo-crypto-samples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265683379,"owners_count":23810840,"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":[],"created_at":"2024-11-13T14:31:58.985Z","updated_at":"2025-07-18T00:08:15.009Z","avatar_url":"https://github.com/hello2mao.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-crypto-samples\n\n## BIP32\n- bip32\n\n## ECC\n- ecc key gen\n- privKey -\u003e []byte\n- []byte -\u003e privKey\n- pubKey -\u003e []byte\n- []byte -\u003e pubKey\n- encode pubKey to asn1 der\n- decode asn1 der to pubKey\n\n## ECDH\n\n- takes in a public key and a private key and generates a shared secret\n\n## ECDSA\n\n- sign and verify\n\n## ECIES\n\n- use ecc to encrypt and decrypt\n\n## HE-Paillier\n\n- partially homomorphic encryption, additive\n\n## Differential-Privacy\n\n- example using the Google go differential privacy library\n\n## Secret-Sharing\n- shamir's secret sharing algorithm\n\n## SM\n- 国密\n\n## FPE\n- Format Preserving Encryption\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhello2mao%2Fgo-crypto-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhello2mao%2Fgo-crypto-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhello2mao%2Fgo-crypto-samples/lists"}