Sha256: 01e03961106767b5543811d709e34f80902fadf7fc4de12e1011351d86a70694
Contents?: true
Size: 245 Bytes
Versions: 20
Compression:
Stored size: 245 Bytes
Contents
# frozen_string_literal: true require 'digest/sha2' Puppet::Parser::Functions::newfunction(:sha256, :type => :rvalue, :arity => 1, :doc => "Returns a SHA256 hash value from a provided string.") do |args| Digest::SHA256.hexdigest(args[0]) end
Version data entries
20 entries across 20 versions & 1 rubygems