All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ssssssss.magicapi.utils.SignUtils Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package org.ssssssss.magicapi.utils;

public class SignUtils {

	public static String sign(Long timestamp, String secretKey, String mode, byte[] bytes) {
		return MD5Utils.encrypt(String.format("%s|%s|%s|%s", timestamp, mode, MD5Utils.encrypt(bytes), secretKey));
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy