All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.libsodium.jni.SodiumConstants Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package org.libsodium.jni;

/**
 * Created with IntelliJ IDEA.
 * User: josh
 * Date: 7/14/13
 * Time: 7:31 PM
 * To change this template use File | Settings | File Templates.
 */
public abstract class SodiumConstants {
    public static final int SHA256BYTES = 32;
    public static final int SHA512BYTES = 64;
    public static final int BLAKE2B_OUTBYTES = 64;
    public static final int PUBLICKEY_BYTES = 32;
    public static final int SECRETKEY_BYTES = 32;
    public static final int NONCE_BYTES = 24;
    public static final int ZERO_BYTES = 32;
    public static final int BOXZERO_BYTES = 16;
    public static final int SCALAR_BYTES = 32;
    public static final int XSALSA20_POLY1305_SECRETBOX_KEYBYTES = 32;
    public static final int XSALSA20_POLY1305_SECRETBOX_NONCEBYTES = 24;
    public static final int SIGNATURE_BYTES = 64;
    public static final int AEAD_CHACHA20_POLY1305_KEYBYTES = 32;
    public static final int AEAD_CHACHA20_POLY1305_NPUBBYTES = 8;
    public static final int AEAD_CHACHA20_POLY1305_ABYTES = 8;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy