Demo entry 6759929



Submitted by anonymous on Sep 05, 2018 at 14:23
Language: C++. Code size: 550 Bytes.

public static String generateSign(Map<String, String> params) {
    String md5Str = MD5.md5Digest(concat(params));
    return md5Str.toUpperCase();

public static String concat(Map<String, String> params) {
    StringBuilder signBuilder = new StringBuilder();
    for (Map.Entry<String, String> entry : params.entrySet()) {

    return signBuilder.toString();

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).