public final class Exports extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Method and Description |
---|---|
static Cipher |
createCipher(String algorithm,
Object password) |
static Cipher |
createCipheriv(String algorithm,
Object key,
Object iv) |
static Credentials |
createCredentials(CredentialDetails details) |
static Decipher |
createDecipher(String algorithm,
Object password) |
static Decipher |
createDecipheriv(String algorithm,
Object key,
Object iv) |
static DiffieHellman |
createDiffieHellman(double prime_length) |
static DiffieHellman |
createDiffieHellman(double prime,
String encoding) |
static Hash |
createHash(String algorithm) |
static Hmac |
createHmac(String algorithm,
Buffer key) |
static Hmac |
createHmac(String algorithm,
String key) |
static Signer |
createSign(String algorithm) |
static Verify |
createVerify(String algorith) |
static DiffieHellman |
getDiffieHellman(String group_name) |
static void |
pbkdf2(Buffer password,
Buffer salt,
double iterations,
double keylen,
Function.A2<? super Error,? super Buffer,? extends Object> callback) |
static void |
pbkdf2(Buffer password,
Buffer salt,
double iterations,
double keylen,
String digest,
Function.A2<? super Error,? super Buffer,? extends Object> callback) |
static void |
pbkdf2(Buffer password,
String salt,
double iterations,
double keylen,
Function.A2<? super Error,? super Buffer,? extends Object> callback) |
static void |
pbkdf2(Buffer password,
String salt,
double iterations,
double keylen,
String digest,
Function.A2<? super Error,? super Buffer,? extends Object> callback) |
static void |
pbkdf2(String password,
Buffer salt,
double iterations,
double keylen,
Function.A2<? super Error,? super Buffer,? extends Object> callback) |
static void |
pbkdf2(String password,
Buffer salt,
double iterations,
double keylen,
String digest,
Function.A2<? super Error,? super Buffer,? extends Object> callback) |
static void |
pbkdf2(String password,
String salt,
double iterations,
double keylen,
Function.A2<? super Error,? super Buffer,? extends Object> callback) |
static void |
pbkdf2(String password,
String salt,
double iterations,
double keylen,
String digest,
Function.A2<? super Error,? super Buffer,? extends Object> callback) |
static Buffer |
pbkdf2Sync(Buffer password,
Buffer salt,
double iterations,
double keylen) |
static Buffer |
pbkdf2Sync(Buffer password,
Buffer salt,
double iterations,
double keylen,
String digest) |
static Buffer |
pbkdf2Sync(Buffer password,
String salt,
double iterations,
double keylen) |
static Buffer |
pbkdf2Sync(Buffer password,
String salt,
double iterations,
double keylen,
String digest) |
static Buffer |
pbkdf2Sync(String password,
Buffer salt,
double iterations,
double keylen) |
static Buffer |
pbkdf2Sync(String password,
Buffer salt,
double iterations,
double keylen,
String digest) |
static Buffer |
pbkdf2Sync(String password,
String salt,
double iterations,
double keylen) |
static Buffer |
pbkdf2Sync(String password,
String salt,
double iterations,
double keylen,
String digest) |
static Buffer |
privateDecrypt(RsaPrivateKey private_key,
Buffer buffer) |
static Buffer |
privateDecrypt(String private_key,
Buffer buffer) |
static Buffer |
pseudoRandomBytes(double size) |
static void |
pseudoRandomBytes(double size,
Function.A2<? super Error,? super Buffer,? extends Void> callback) |
static Buffer |
publicEncrypt(RsaPublicKey public_key,
Buffer buffer) |
static Buffer |
publicEncrypt(String public_key,
Buffer buffer) |
static Buffer |
randomBytes(double size) |
static void |
randomBytes(double size,
Function.A2<? super Error,? super Buffer,? extends Void> callback) |
$as, $as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public static Credentials createCredentials(CredentialDetails details)
public static DiffieHellman createDiffieHellman(double prime_length)
public static DiffieHellman createDiffieHellman(double prime, String encoding)
public static DiffieHellman getDiffieHellman(String group_name)
public static void pbkdf2(String password, String salt, double iterations, double keylen, String digest, Function.A2<? super Error,? super Buffer,? extends Object> callback)
public static void pbkdf2(Buffer password, String salt, double iterations, double keylen, String digest, Function.A2<? super Error,? super Buffer,? extends Object> callback)
public static void pbkdf2(String password, Buffer salt, double iterations, double keylen, String digest, Function.A2<? super Error,? super Buffer,? extends Object> callback)
public static void pbkdf2(Buffer password, Buffer salt, double iterations, double keylen, String digest, Function.A2<? super Error,? super Buffer,? extends Object> callback)
public static void pbkdf2(String password, String salt, double iterations, double keylen, Function.A2<? super Error,? super Buffer,? extends Object> callback)
public static void pbkdf2(Buffer password, String salt, double iterations, double keylen, Function.A2<? super Error,? super Buffer,? extends Object> callback)
public static void pbkdf2(String password, Buffer salt, double iterations, double keylen, Function.A2<? super Error,? super Buffer,? extends Object> callback)
public static void pbkdf2(Buffer password, Buffer salt, double iterations, double keylen, Function.A2<? super Error,? super Buffer,? extends Object> callback)
public static Buffer pbkdf2Sync(String password, String salt, double iterations, double keylen)
public static Buffer pbkdf2Sync(Buffer password, String salt, double iterations, double keylen)
public static Buffer pbkdf2Sync(String password, Buffer salt, double iterations, double keylen)
public static Buffer pbkdf2Sync(Buffer password, Buffer salt, double iterations, double keylen)
public static Buffer pbkdf2Sync(String password, String salt, double iterations, double keylen, String digest)
public static Buffer pbkdf2Sync(Buffer password, String salt, double iterations, double keylen, String digest)
public static Buffer pbkdf2Sync(String password, Buffer salt, double iterations, double keylen, String digest)
public static Buffer pbkdf2Sync(Buffer password, Buffer salt, double iterations, double keylen, String digest)
public static Buffer privateDecrypt(RsaPrivateKey private_key, Buffer buffer)
public static Buffer pseudoRandomBytes(double size)
public static void pseudoRandomBytes(double size, Function.A2<? super Error,? super Buffer,? extends Void> callback)
public static Buffer publicEncrypt(RsaPublicKey public_key, Buffer buffer)
public static Buffer randomBytes(double size)
public static void randomBytes(double size, Function.A2<? super Error,? super Buffer,? extends Void> callback)
Copyright © 2018. All rights reserved.