| 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 algorithmNoSuchAlgorithmExceptionpublic abstract Literal evaluate(ValueFactory valueFactory, Value... args) throws ValueExprEvaluationException
evaluate in interface FunctionValueExprEvaluationExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.