{"id":15370246,"url":"https://github.com/jedisct1/rust-sealed_box","last_synced_at":"2025-06-17T01:07:30.870Z","repository":{"id":57666474,"uuid":"369566617","full_name":"jedisct1/rust-sealed_box","owner":"jedisct1","description":"Sealed boxes implementation for Rust/WebAssembly.","archived":false,"fork":false,"pushed_at":"2024-05-09T21:23:59.000Z","size":218,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T14:55:01.584Z","etag":null,"topics":["rust","sealedbox","wasm"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jedisct1.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":"2021-05-21T14:46:24.000Z","updated_at":"2024-05-09T21:23:51.000Z","dependencies_parsed_at":"2024-02-16T05:34:39.080Z","dependency_job_id":"689603a1-d928-4942-8878-a75aa9f8b69d","html_url":"https://github.com/jedisct1/rust-sealed_box","commit_stats":{"total_commits":35,"total_committers":2,"mean_commits":17.5,"dds":0.02857142857142858,"last_synced_commit":"3c754ccd482afcce54ee36a3dbf4f2400d4e67b1"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frust-sealed_box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frust-sealed_box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frust-sealed_box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frust-sealed_box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jedisct1","download_url":"https://codeload.github.com/jedisct1/rust-sealed_box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804721,"owners_count":21164127,"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":["rust","sealedbox","wasm"],"created_at":"2024-10-01T13:40:34.981Z","updated_at":"2025-04-14T00:43:32.637Z","avatar_url":"https://github.com/jedisct1.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sealed boxes for Rust/WebAssembly\n\nThis Rust crate provides [libsodium sealed boxes](https://libsodium.gitbook.io/doc/public-key_cryptography/sealed_boxes) for WebAssembly.\n\nUsage:\n\n```rust\n// Recipient: create a new key pair\nlet recipient_kp = sealed_box::KeyPair::create();\n\n//  Sender: encrypt the message for the recipient whose public key is recipient_kp.pk\nlet msg = b\"test\";\nlet ciphertext = sealed_box::seal(msg, recipient_kp.pk);\n\n// Recipient: decrypt the ciphertext using the key pair\nlet decrypted_msg = sealed_box::open(\u0026ciphertext, \u0026recipient_kp).unwrap();\n\nassert_eq!(msg[..], decrypted_msg);\n```\n\nCompile with `cargo wasix`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Frust-sealed_box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjedisct1%2Frust-sealed_box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Frust-sealed_box/lists"}