public class curve25519xsalsa20poly1305 extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
crypto_secretbox_BEFORENMBYTES |
static int |
crypto_secretbox_BOXZEROBYTES |
static int |
crypto_secretbox_NONCEBYTES |
static int |
crypto_secretbox_PUBLICKEYBYTES |
static int |
crypto_secretbox_SECRETKEYBYTES |
static int |
crypto_secretbox_ZEROBYTES |
| Constructor and Description |
|---|
curve25519xsalsa20poly1305() |
| Modifier and Type | Method and Description |
|---|---|
static int |
crypto_box_afternm(byte[] c,
byte[] m,
byte[] n,
byte[] k) |
static int |
crypto_box_afternm(byte[] c,
byte[] m,
long mlen,
byte[] n,
byte[] k) |
static int |
crypto_box_beforenm(byte[] k,
byte[] pk,
byte[] sk) |
static int |
crypto_box_getpublickey(byte[] pk,
byte[] sk) |
static int |
crypto_box_keypair(byte[] pk,
byte[] sk) |
static int |
crypto_box_open_afternm(byte[] m,
byte[] c,
byte[] n,
byte[] k) |
static int |
crypto_box_open_afternm(byte[] m,
byte[] c,
long clen,
byte[] n,
byte[] k) |
static int |
crypto_box_open(byte[] m,
byte[] c,
byte[] n,
byte[] pk,
byte[] sk) |
static int |
crypto_box_open(byte[] m,
byte[] c,
long clen,
byte[] n,
byte[] pk,
byte[] sk) |
static int |
crypto_box(byte[] c,
byte[] m,
byte[] n,
byte[] pk,
byte[] sk) |
static int |
crypto_box(byte[] c,
byte[] m,
long mlen,
byte[] n,
byte[] pk,
byte[] sk) |
public static final int crypto_secretbox_PUBLICKEYBYTES
public static final int crypto_secretbox_SECRETKEYBYTES
public static final int crypto_secretbox_BEFORENMBYTES
public static final int crypto_secretbox_NONCEBYTES
public static final int crypto_secretbox_ZEROBYTES
public static final int crypto_secretbox_BOXZEROBYTES
public static int crypto_box_getpublickey(byte[] pk,
byte[] sk)
public static int crypto_box_keypair(byte[] pk,
byte[] sk)
public static int crypto_box_afternm(byte[] c,
byte[] m,
long mlen,
byte[] n,
byte[] k)
public static int crypto_box_beforenm(byte[] k,
byte[] pk,
byte[] sk)
public static int crypto_box(byte[] c,
byte[] m,
long mlen,
byte[] n,
byte[] pk,
byte[] sk)
public static int crypto_box_open(byte[] m,
byte[] c,
long clen,
byte[] n,
byte[] pk,
byte[] sk)
public static int crypto_box_open_afternm(byte[] m,
byte[] c,
long clen,
byte[] n,
byte[] k)
public static int crypto_box_afternm(byte[] c,
byte[] m,
byte[] n,
byte[] k)
public static int crypto_box_open_afternm(byte[] m,
byte[] c,
byte[] n,
byte[] k)
public static int crypto_box(byte[] c,
byte[] m,
byte[] n,
byte[] pk,
byte[] sk)
public static int crypto_box_open(byte[] m,
byte[] c,
byte[] n,
byte[] pk,
byte[] sk)
Copyright © 2018. All rights reserved.