XenForo
Administrative
- Thread starter
- Admin
- #1
Java:
Read more
ادامه مطلب...
Code:
import java.security.MessageDigest;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import org.apache.commons.codec.binary.Base64;
/**
* Method to decrypt encrypted String text using secret password
* @param password, secret key to decrypt the payload string
* @param payloadJsonString, Student marking error/success details json in String format
* @return decrypted payload json in String format
* @throws Exception
*/...
Read more
ادامه مطلب...