{"id":24568157,"url":"https://github.com/cbrnrd/krypton","last_synced_at":"2025-04-22T15:24:50.203Z","repository":{"id":48753069,"uuid":"149369054","full_name":"cbrnrd/krypton","owner":"cbrnrd","description":"🔒 A CLI tool for easy cryptography","archived":false,"fork":false,"pushed_at":"2022-10-06T06:21:10.000Z","size":177,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T04:47:52.755Z","etag":null,"topics":["cli","command-line-tool","cryptography","encryption","ruby","security"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/cbrnrd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-19T00:33:17.000Z","updated_at":"2024-01-10T13:41:32.000Z","dependencies_parsed_at":"2022-09-13T17:51:26.556Z","dependency_job_id":null,"html_url":"https://github.com/cbrnrd/krypton","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrnrd%2Fkrypton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrnrd%2Fkrypton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrnrd%2Fkrypton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrnrd%2Fkrypton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbrnrd","download_url":"https://codeload.github.com/cbrnrd/krypton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250265702,"owners_count":21402157,"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":["cli","command-line-tool","cryptography","encryption","ruby","security"],"created_at":"2025-01-23T14:19:57.920Z","updated_at":"2025-04-22T15:24:50.170Z","avatar_url":"https://github.com/cbrnrd.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/cbrnrd/krypton/raw/88b44a70de4829c3dd77dc8fbeb0395f89668b07/img/krypton-readme-header.png\"\u003e\u003c/p\u003e\n\n\n## Installation\n\nYou can install krypton as a standalone gem:\n\n    $ gem install krypton\n\nOr you can install the `periodic-cli` gem:\n    \n    $ gem install periodic-cli\n\n## Usage\n\nAll krypton functions use the same basic syntax: `krypton [cmd] {[message/secret]{[key]}}`\n\n* `encrypt` - Encrypt a string\n\n        $ krypton encrypt \"mymessage\" \"mykey\" \n        mymessage =\u003e ckhJWXcyTE1leENLOWpBQzJWbElMdz09Cg==\n\n* `decrypt` - Decrypt a string\n\n        $ krypton decrypt \"ckhJWXcyTE1leENLOWpBQzJWbElMdz09Cg\" \"mykey\" \n        ckhJWXcyTE1leENLOWpBQzJWbElMdz09Cg =\u003e mymessage\n\n* `hash` - Hash a string or piped data\n\n        $ krypton hash \"mymessage\"\n        mymessage =\u003e S3ONp9WM7/rCMeuUnvWDzp5dxbuSVsOV6bI5AJvRqCc=\n\n        $ echo \"mymessage\" | krypton hash\n        mymessage =\u003e S3ONp9WM7/rCMeuUnvWDzp5dxbuSVsOV6bI5AJvRqCc=\n\n* `uuid` - Generate a secure [uuid](https://en.wikipedia.org/wiki/Universally_unique_identifier)\n\n        $ krypton uuid\n        b6ff36d2-3f7e-4077-8ba5-5066f0a205a5\n\n* `totp` - Generate a [time-based one-time password](https://en.wikipedia.org/wiki/Time-based_One-time_Password_algorithm)\n\n        $ krypton totp \"myawesomesecret\"\n        myawesomesecret =\u003e 997820\n        \n* `lookup` - Look up the cracked hash from hashes.org\n\n        $ krypton lookup 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8\n        \n        Result found: \n        Hash: 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8\n        Plaintext: password\n        Algorithm: SHA256X1PLAIN\n        \n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/cbrnrd/krypton. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Krypton project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/cbrnrd/krypton/blob/master/CODE_OF_CONDUCT.md).\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg height=\"100\" width=\"300\" src=\"https://i.imgur.com/obHmDnX.png\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbrnrd%2Fkrypton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbrnrd%2Fkrypton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbrnrd%2Fkrypton/lists"}