Constructor and Description |
---|
HashFunction() |
Modifier and Type | Method and Description |
---|---|
abstract Literal |
evaluate(ValueFactory valueFactory,
Value... args) |
protected String |
hash(String text,
String algorithm)
Calculate hash value, represented as hexadecimal string.
|
protected String hash(String text, String algorithm) throws NoSuchAlgorithmException
text
- textalgorithm
- name of the hash algorithmNoSuchAlgorithmException
public abstract Literal evaluate(ValueFactory valueFactory, Value... args) throws ValueExprEvaluationException
evaluate
in interface Function
ValueExprEvaluationException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.