Sha256: 1081b0dc5e40dbd79a65c27b3284397f9533cae0f795d9e3837d33df433c294b
Contents?: true
Size: 245 Bytes
Versions: 28
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
28 entries across 28 versions & 1 rubygems