{"id":23045349,"url":"https://github.com/mykeels/steganography","last_synced_at":"2025-08-14T23:31:49.429Z","repository":{"id":42855842,"uuid":"260687587","full_name":"mykeels/steganography","owner":"mykeels","description":"This tool lets you hide and retrieve text data to/from an image","archived":false,"fork":false,"pushed_at":"2023-03-04T15:45:39.000Z","size":195,"stargazers_count":20,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-16T06:34:10.290Z","etag":null,"topics":["cryptography","steganography"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/mykeels.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-05-02T12:59:29.000Z","updated_at":"2024-07-11T17:41:55.000Z","dependencies_parsed_at":"2024-09-20T14:30:34.942Z","dependency_job_id":"c79ee3e6-45f2-40ef-a3f2-c7983b722d4b","html_url":"https://github.com/mykeels/steganography","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.0625,"last_synced_commit":"afb954c13c5ab52c2c4174f09ee04c9a81aad428"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fsteganography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fsteganography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fsteganography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fsteganography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mykeels","download_url":"https://codeload.github.com/mykeels/steganography/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229875544,"owners_count":18137843,"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","steganography"],"created_at":"2024-12-15T21:19:55.465Z","updated_at":"2024-12-15T21:19:56.066Z","avatar_url":"https://github.com/mykeels.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @mykeels/steganography\n\nInspired by [rodrigouroz/steganography](https://github.com/rodrigouroz/steganography).\n\nThis tool lets you hide and retrieve text data to/from an image. It's useful when you want to send information between parties and do not want it scrutinized by external parties.\n\n## Installation\n\nRun `npm i @mykeels/steganography` or `yarn add @mykeels/steganography` to install.\n\n## Usage\n\nTo embed data, you'll need an image to embed the data in.\n\n```js\nconst path = require('path');\nconst fs = require('fs');\nconst { embed } = require('@mykeels/steganography');\n\n(async () =\u003e {\n    const buffer = await embed(\n        path.join(__dirname, './path/to/input.png'), \n        `This is my message to the world. Love, Joy and Happiness!`,\n        'YOUR_PASSWORD_HERE'\n    );\n\n    fs.writeFileSync(\n        path.join(__dirname, './path/to/output.png'),\n        buffer\n    );\n})();\n```\n\nTo retrieve data, you'll need an image that has data embeded in it.\n\n```js\nconst path = require('path');\nconst { digUp } = require('@mykeels/steganography');\n\n(async () =\u003e {\n    const text = await digUp(\n        path.join(__dirname, './path/to/output.png'),\n        'YOUR_PASSWORD_HERE'\n    );\n\n    console.log(text);\n})();\n```\n\n### NB\n\n- The password argument is optional.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmykeels%2Fsteganography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmykeels%2Fsteganography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmykeels%2Fsteganography/lists"}