{"id":24380543,"url":"https://github.com/vijayshinva/kryptos","last_synced_at":"2025-04-10T22:54:32.792Z","repository":{"id":55943396,"uuid":"312785534","full_name":"vijayshinva/kryptos","owner":"vijayshinva","description":"A .NET core tool for cryptography.","archived":false,"fork":false,"pushed_at":"2020-12-05T09:28:55.000Z","size":76,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-10T22:54:26.980Z","etag":null,"topics":["base64url","cryptographic-hash","cryptography","cryptography-tools","dotnet","dotnet-core","global-tool","hash","hmac","jwt","md5","oid","pfx","self-signed-certificate","subresource-integrity"],"latest_commit_sha":null,"homepage":"","language":"C#","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/vijayshinva.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":"2020-11-14T09:32:27.000Z","updated_at":"2021-07-17T08:38:55.000Z","dependencies_parsed_at":"2022-08-15T10:00:47.866Z","dependency_job_id":null,"html_url":"https://github.com/vijayshinva/kryptos","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijayshinva%2Fkryptos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijayshinva%2Fkryptos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijayshinva%2Fkryptos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijayshinva%2Fkryptos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vijayshinva","download_url":"https://codeload.github.com/vijayshinva/kryptos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312172,"owners_count":21082638,"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":["base64url","cryptographic-hash","cryptography","cryptography-tools","dotnet","dotnet-core","global-tool","hash","hmac","jwt","md5","oid","pfx","self-signed-certificate","subresource-integrity"],"created_at":"2025-01-19T08:20:18.768Z","updated_at":"2025-04-10T22:54:32.763Z","avatar_url":"https://github.com/vijayshinva.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kryptos\nA .NET core tool for cryptography.\n\n![.NET Core](https://github.com/vijayshinva/kryptos/workflows/.NET%20Core/badge.svg)\n[![CodeFactor](https://www.codefactor.io/repository/github/vijayshinva/kryptos/badge)](https://www.codefactor.io/repository/github/vijayshinva/kryptos)\n[![NuGet version](https://badge.fury.io/nu/Kryptos.svg)](https://badge.fury.io/nu/Kryptos)\n\n## Overview\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n- UUID generation\n- Base64, Base64Url encoding and decoding\n- MD5 Hash\n- SHA-1, SHA-256, SHA-384, SHA-512 Hash\n- JWT decoding\n- HMAC-SHA1, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, HMAC-MD5\n- Subresource Integrity\n- Cryptographic Object Identifier lookup\n- Create self-signed certificates (PFX)\n- Encryption and decryption using PFX\n- Random Number Generator\n- Zip file content information\n\n## Installation\n\n**Kryptos** is available as a .NET Global Tool and can be installed using the .NET Core CLI.\n\n```\ndotnet tool install --global Kryptos\n```\n\nFor offline installation, download the [nuget package][nuget-package] into a folder and run the following command.\n\n```\ndotnet tool install --global Kryptos --add-source FolderWithKryptosNuget\\ \n```\n\n**Kryptos** is under active development and new features are being added. Update to the latest version using the command below.\n```\ndotnet tool update --global Kryptos\n```\n\n\n## Usage\n\n```\nkryptos --help\n```\n\n## Examples\n\n1. Decode Base64 encoded string\n    ```\n    kryptos base64 dec -t \"VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4=\"\n    ```\n2. Generate SHA-256 hash of file\n    ```\n    kryptos sha256 hash -i .\\ubuntu-20.04-desktop-amd64.iso\n    ```\n3. Decode a JWT token\n    ```\n    kryptos jwt dec -t eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IlZpamF5c2hpbnZhIEthcm51cmUiLCJpYXQiOjE1MTYyMzkwMjIsImF1ZCI6Imh0dHBzOi8vZ2l0aHViLmNvbS92aWpheXNoaW52YS9rcnlwdG9zIn0.ufklYra5bLYKM-FWnmxI0Tsw_ILmTIDK0cJ7ZkPfwfE\n    ```\n4. Generate Subresource Integrity\n    ```\n    kryptos sri hash -u https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css\n    ```\n5. Look up Cryptographic Object Identifier\n    ```\n    kryptos oid -t 1.3.6.1.5.5.7.3.1\n    ```\n6. Generate a self-signed PFX certificate\n    ```\n    kryptos pfx create -st www.contoso.com -kt password -o contoso.pfx\n    ```  \n7. Encrypt text using a PFX certificate\n    ```\n    kryptos pfx enc -ci contoso.pfx -kt password -t \"The quick brown fox jumps over the lazy dog.\"\n    ```    \n\n## Contributing\n- Fork the repo on [GitHub][git-repo]\n- Clone the project to your own machine\n- Commit changes to ```vnext``` branch\n- Push your work back up to your fork\n- Be sure to pull the latest from \"upstream\" before making a pull request!\n- Submit a Pull Request so that changes can be reviewed and merged\n\nNOTE: By raising a Pull Request you grant the guardians of this project the necessary ownership or grants of rights over all contributions to distribute under the [chosen license](https://github.com/vijayshinva/kryptos/blob/main/LICENSE).\n\n## LICENSE\n[![license](https://img.shields.io/github/license/vijayshinva/kryptos.svg)](https://github.com/vijayshinva/kryptos/blob/main/LICENSE)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fvijayshinva%2Fkryptos.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fvijayshinva%2Fkryptos?ref=badge_shield)\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fvijayshinva%2Fkryptos.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fvijayshinva%2Fkryptos?ref=badge_large)\n\n\n\n[git-repo]: https://github.com/vijayshinva/kryptos\n[nuget-package]: https://www.nuget.org/packages/Kryptos","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvijayshinva%2Fkryptos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvijayshinva%2Fkryptos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvijayshinva%2Fkryptos/lists"}