public class EcAesCtrAsyncWorker extends Object
| Constructor and Description |
|---|
EcAesCtrAsyncWorker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
decrypt(String ciphertext,
String secret,
String iv,
org.stjs.javascript.functions.Callback1<String> success,
org.stjs.javascript.functions.Callback1<String> failure)
Asynchronous form of {{#crossLink
"EcAesCtr/decrypt:method"}}EcAesCtr.decrypt{{/crossLink}}
|
static void |
encrypt(String plaintext,
String secret,
String iv,
org.stjs.javascript.functions.Callback1<String> success,
org.stjs.javascript.functions.Callback1<String> failure)
Asynchronous form of {{#crossLink
"EcAesCtr/encrypt:method"}}EcAesCtr.encrypt{{/crossLink}}
|
public static void encrypt(String plaintext, String secret, String iv, org.stjs.javascript.functions.Callback1<String> success, org.stjs.javascript.functions.Callback1<String> failure)
{string} - plaintext Text to encrypt.{string} - secret Secret to use to encrypt.{string} - iv Initialization Vector to use to encrypt.{function(string)} - success Success method, result is Base64
encoded Ciphertext.{function(string)} - failure Failure method, parameter is error
message.public static void decrypt(String ciphertext, String secret, String iv, org.stjs.javascript.functions.Callback1<String> success, org.stjs.javascript.functions.Callback1<String> failure)
{string} - ciphertext Text to decrypt.{string} - secret Secret to use to decrypt.{string} - iv Initialization Vector to use to decrypt.{function(string)} - success Success method, result is Plaintext
with no encoding.{function(string)} - failure Failure method, parameter is error
message.Copyright © 2018 Eduworks Corporation. All rights reserved.