public class JSONEncrypt extends Object
| 构造器和说明 |
|---|
JSONEncrypt() |
JSONEncrypt(int ks,
int iter,
int ts)
Much credit for this class goes to Matthew Fettig
https://github.com/AurionFinancial/AndroidWallet/blob/master/src/com/ripple/Blobvault.java
This supports ccm mode encrypted data.
|
public JSONEncrypt(int ks,
int iter,
int ts)
ks - ks.iter - iter.ts - ts.public JSONEncrypt()
public org.json.JSONObject decrypt(String key, String json) throws org.bouncycastle.crypto.InvalidCipherTextException
org.bouncycastle.crypto.InvalidCipherTextExceptionpublic org.json.JSONObject decrypt(String key, org.json.JSONObject json) throws org.bouncycastle.crypto.InvalidCipherTextException
org.bouncycastle.crypto.InvalidCipherTextExceptionCopyright © 2021. All rights reserved.