{"id":19598851,"url":"https://github.com/bermannoah/veronica","last_synced_at":"2025-10-31T19:03:50.927Z","repository":{"id":49869127,"uuid":"113496463","full_name":"bermannoah/veronica","owner":"bermannoah","description":"Lightweight wrapper for basic hashing and secret-keeping","archived":false,"fork":false,"pushed_at":"2021-06-15T09:46:45.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-14T22:22:57.869Z","etag":null,"topics":["ruby","sha"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/veronica","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/bermannoah.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-07T20:41:57.000Z","updated_at":"2023-01-06T16:06:01.000Z","dependencies_parsed_at":"2022-08-20T17:40:32.184Z","dependency_job_id":null,"html_url":"https://github.com/bermannoah/veronica","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bermannoah%2Fveronica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bermannoah%2Fveronica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bermannoah%2Fveronica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bermannoah%2Fveronica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bermannoah","download_url":"https://codeload.github.com/bermannoah/veronica/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240876855,"owners_count":19871903,"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":["ruby","sha"],"created_at":"2024-11-11T09:08:07.008Z","updated_at":"2025-10-31T19:03:45.881Z","avatar_url":"https://github.com/bermannoah.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Veronica\n\n[![Build Status](https://travis-ci.com/bermannoah/veronica.svg?branch=master)](https://travis-ci.com/github/bermannoah/veronica)\n\nA gem to make it easier for sardonic young detectives to keep secrets. \n\nBasically just a wrapper around existing hashing/encrypting methods.\n\nNot really actively maintained, use at your own risk. May spontaneously accuse trusted community figures of murder, or simply not work.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'veronica'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install veronica\n\n## Usage\nOnce you've included it in a project, you can use it like so:\n\n```\nVeronica.generate_sha2(digest_bits: 256, string: \"I've got a secret, a good one.\")`\n=\u003e \"61cb3c4118402462e3055033176a2222d1a7b8e88db775bbdccd5b05b3cc7f0e\"\n```\n\nYou can also pass in an encoding_format:\n```\nVeronica.generate_sha2(digest_bits: 256, string: \"Don't forget about me, Veronica.\", encoding_format: \"base64digest\")\n=\u003e \"wyWcnqQlnMtEdgR23nOeGoDm3Z5wetAj5FHoIqXj2d4=\"\n```\n\nValid digest_bits settings for SHA2 are: `256, 384, 512`\n\nValid encoding_format settings for SHA2 are \"hexdigest\", \"base64digest\", and just \"digest\". \n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. Feel free to submit issues as well as PRs. \n\n## Contributing\n\nBug reports and pull requests are welcome on [GitHub](https://github.com/bermannoah/veronica/issues).\nPlease respect the [Code of Conduct](https://github.com/bermannoah/veronica/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbermannoah%2Fveronica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbermannoah%2Fveronica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbermannoah%2Fveronica/lists"}