public class curve25519xsalsa20poly1305 extends Object
Modifier and Type | Field and Description |
---|---|
static int |
crypto_box_BEFORENMBYTES |
static int |
crypto_box_BOXZEROBYTES |
static int |
crypto_box_NONCEBYTES |
static int |
crypto_box_PUBLICKEYBYTES |
static int |
crypto_box_SECRETKEYBYTES |
static int |
crypto_box_ZEROBYTES |
Constructor and Description |
---|
curve25519xsalsa20poly1305() |
Modifier and Type | Method and Description |
---|---|
static int |
crypto_box_afternm_nopad(byte[] c,
int coffset,
byte[] m,
int moffset,
long mlen,
byte[] n,
byte[] k) |
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_open_afternm_nopad(byte[] m,
int moffset,
byte[] c,
int coffset,
long clen,
byte[] n,
byte[] k) |
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_box_PUBLICKEYBYTES
public static final int crypto_box_SECRETKEYBYTES
public static final int crypto_box_BEFORENMBYTES
public static final int crypto_box_NONCEBYTES
public static final int crypto_box_ZEROBYTES
public static final int crypto_box_BOXZEROBYTES
public static int crypto_box_getpublickey(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_afternm_nopad(byte[] c, int coffset, byte[] m, int moffset, 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_open_afternm_nopad(byte[] m, int moffset, byte[] c, int coffset, 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 © 2015 Threema GmbH, Staldenbachstrasse 11, 8808 Pfäffikon SZ, Schweiz. All rights reserved.