public class xsalsa20 extends Object
Modifier and Type | Field and Description |
---|---|
static byte[] |
sigma |
Constructor and Description |
---|
xsalsa20() |
Modifier and Type | Method and Description |
---|---|
static int |
crypto_stream_xor_skip32(byte[] c0,
byte[] c,
int coffset,
byte[] m,
int moffset,
long mlen,
byte[] n,
byte[] k) |
static int |
crypto_stream_xor(byte[] c,
byte[] m,
long mlen,
byte[] n,
byte[] k) |
static int |
crypto_stream(byte[] c,
int clen,
byte[] n,
byte[] k) |
public static int crypto_stream(byte[] c, int clen, byte[] n, byte[] k)
public static int crypto_stream_xor(byte[] c, byte[] m, long mlen, byte[] n, byte[] k)
public static int crypto_stream_xor_skip32(byte[] c0, byte[] c, int coffset, byte[] m, int moffset, long mlen, byte[] n, byte[] k)
Copyright © 2015 Threema GmbH, Staldenbachstrasse 11, 8808 Pfäffikon SZ, Schweiz. All rights reserved.