Sha256: 60cf1faf707f29c3ddc397d106c0f4c210535bdbe309e986f265984d169d71a2
Contents?: true
Size: 360 Bytes
Versions: 31
Compression:
Stored size: 360 Bytes
Contents
require 'digest/sha1' module ETL #:nodoc: module Transform #:nodoc: # Transform which hashes the original value with a SHA-1 hash algorithm class Sha1Transform < ETL::Transform::Transform # Transform the value with a SHA1 digest algorithm. def transform(name, value, row) Digest::SHA1.hexdigest(value) end end end end
Version data entries
31 entries across 31 versions & 9 rubygems