Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jekyll-hash

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jekyll-hash

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Jekyll Hash Filter

Adds a variety of filters to enable string hashing in Jekyll.

Currently the filter supports the following hash functions:

  • SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256
  • SHA3-224, SHA3-256, SHA3-384, SHA3-512

This plugin uses the OpenSSL implementations of the above hash functions.

Installation

Add the following to your Gemfile:

gem 'jekyll-hash`

Then make the following entry under _config.yml:

plugins:
    - jekyll-hash

Usage

The filters can be used as follows:

{{ 'text to be hashed' | sha_256 }}
{{ 'text to be hashed' | sha_512_224 }}
{{ 'text to be hashed' | sha3_512 }}

Testing

Run the command:

bundle exec rspec

FAQs

Package last updated on 16 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc