
com.paymentwall.java.utils.HashUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paymentwall-java Show documentation
Show all versions of paymentwall-java Show documentation
This library allows developers to use Paymentwall APIs (Virtual Currency, Digital Goods featuring recurring billing, and Virtual Cart).
package com.paymentwall.java.utils;
/**
* Created by hoahieu on 03/01/17.
*/
public class HashUtils {
public static String sha256String(String input) {
return Hasher.getDefault().sha256Hex(input);
}
public static String sha1String(String input) {
return Hasher.getDefault().sha1Hex(input);
}
public static String md5String(String input) {
return Hasher.getDefault().md5Hex(input);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy