Sha256: f44b4f2cb36745c2d8c24d67c605876d8e2d4c25e7e125d1420d134a063580a6
Contents?: true
Size: 1.28 KB
Versions: 3
Compression:
Stored size: 1.28 KB
Contents
[![Build Status](https://travis-ci.org/kamatama41/embulk-filter-hash.svg?branch=master)](https://travis-ci.org/kamatama41/embulk-filter-hash) # Hash filter plugin for Embulk Embulk filter plugin to convert a input to hash. ## Overview * **Plugin type**: filter ## Configuration - **columns**: Columns to hash (array, required) - **name**: Name of input column (string, required) - **algorithm**: A hash algorithm. [See also](#hash_algorithm) (string, default:`"SHA-256"`) - **new_name**: New column name if you want to rename (string, default: `null`) ## Example ```yaml filters: - type: hash columns: - { name: username } - { name: email, algorithm: SHA-512, new_name: hashed_email } ``` ## Hash Algorithm <a name ="hash_algorithm"> This plugin uses [MessageDigest](https://docs.oracle.com/javase/7/docs/api/java/security/MessageDigest.html) for hashing. Every implementation of the Java platform supports the following MessageDigest algorithms: - MD5 - SHA-1 - SHA-256 If you want to know all algorithms that your platform supports, run the following snippet. ```java for (String algorithm : java.security.Security.getAlgorithms("MessageDigest")) { System.out.println(algorithm); } ``` ## Build ``` $ ./gradlew gem # -t to watch change of files and rebuild continuously ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
embulk-filter-hash-0.3.1 | README.md |
embulk-filter-hash-0.3.0 | README.md |
embulk-filter-hash-0.2.0 | README.md |