Class HydrogenLib

java.lang.Object
io.aether.nativeLib.HydrogenLib

public final class HydrogenLib extends Object
  • Field Details

  • Constructor Details

    • HydrogenLib

      public HydrogenLib()
  • Method Details

    • hydro_secretbox_probe_create

      public static int hydro_secretbox_probe_create(byte[] probe, byte[] c, byte[] ctx, byte[] key)
    • hydro_secretbox_probe_verify

      public static int hydro_secretbox_probe_verify(byte[] probe, byte[] c, byte[] ctx, byte[] key)
    • hydro_hash_keygen

      public static void hydro_hash_keygen(byte[] key)
    • hydro_hash_init

      public static int hydro_hash_init(HydrogenLib.hydro_hash_state state, byte[] ctx, byte[] key)
    • hydro_hash_update

      public static int hydro_hash_update(HydrogenLib.hydro_hash_state state, byte[] in_)
    • hydro_hash_final

      public static int hydro_hash_final(HydrogenLib.hydro_hash_state state, byte[] out)
    • hydro_hash_hash

      public static int hydro_hash_hash(byte[] out, byte[] in_, byte[] ctx, byte[] key)
    • hydro_kx_keygen

      public static void hydro_kx_keygen(HydrogenLib.hydro_kx_keypair keyPair)
    • hydro_kx_keygen_deterministic

      public static void hydro_kx_keygen_deterministic(HydrogenLib.hydro_kx_keypair keyPair, byte[] seed)
    • hydro_kx_n_1

      public static int hydro_kx_n_1(HydrogenLib.hydro_kx_session_keypair keypair, byte[] packet1, byte[] psk, byte[] peer_static_pk)
    • hydro_kx_kk_1

      public static int hydro_kx_kk_1(HydrogenLib.hydro_kx_state state, byte[] packet1, byte[] peer_static_pk, HydrogenLib.hydro_kx_keypair static_kp)
    • hydro_kx_n_2

      public static int hydro_kx_n_2(HydrogenLib.hydro_kx_session_keypair kp, byte[] packet1, byte[] psk, HydrogenLib.hydro_kx_keypair static_kp)
    • hydro_kx_kk_2

      public static int hydro_kx_kk_2(HydrogenLib.hydro_kx_session_keypair kp, byte[] packet2, byte[] packet1, byte[] peer_static_pk, HydrogenLib.hydro_kx_keypair static_kp)
    • hydro_kx_kk_3

      public static int hydro_kx_kk_3(HydrogenLib.hydro_kx_state state, HydrogenLib.hydro_kx_session_keypair kp, byte[] packet2, HydrogenLib.hydro_kx_keypair static_kp)
    • hydro_kx_xx_1

      public static int hydro_kx_xx_1(HydrogenLib.hydro_kx_state state, byte[] packet1, byte[] psk)
    • hydro_kx_xx_2

      public static int hydro_kx_xx_2(HydrogenLib.hydro_kx_state state, byte[] packet2, byte[] packet1, byte[] psk, HydrogenLib.hydro_kx_keypair static_kp)
    • hydro_kx_xx_3

      public static int hydro_kx_xx_3(HydrogenLib.hydro_kx_state state, HydrogenLib.hydro_kx_session_keypair kp, byte[] packet3, byte[] peer_static_pk, byte[] packet2, byte[] psk, HydrogenLib.hydro_kx_keypair static_kp)
    • hydro_kx_xx_4

      public static int hydro_kx_xx_4(HydrogenLib.hydro_kx_state state, HydrogenLib.hydro_kx_session_keypair kp, byte[] peer_static_pk, byte[] packet3, byte[] psk)
    • hydro_kx_nk_1

      public static int hydro_kx_nk_1(HydrogenLib.hydro_kx_state state, byte[] packet1, byte[] psk, byte[] peer_static_pk)
    • hydro_kx_nk_2

      public static int hydro_kx_nk_2(HydrogenLib.hydro_kx_session_keypair kp, byte[] packet2, byte[] packet1, byte[] psk, HydrogenLib.hydro_kx_keypair static_kp)
    • hydro_kx_nk_3

      public static int hydro_kx_nk_3(HydrogenLib.hydro_kx_state state, HydrogenLib.hydro_kx_session_keypair kp, byte[] packet2)
    • hydro_pwhash_keygen

      public static void hydro_pwhash_keygen(byte[] master_key)
    • hydro_pwhash_deterministic

      public static int hydro_pwhash_deterministic(byte[] h, byte[] passwd, byte[] ctx, byte[] master_key, long opslimit, int memlimit, byte threads)
    • hydro_pwhash_create

      public static int hydro_pwhash_create(byte[] stored, byte[] passwd, byte[] master_key, long opslimit, int memlimit, byte threads)
    • hydro_pwhash_verify

      public static int hydro_pwhash_verify(byte[] stored, byte[] passwd, byte[] master_key, long opslimit_max, int memlimit_max, byte threads_max)
    • hydro_pwhash_derive_static_key

      public static int hydro_pwhash_derive_static_key(byte[] static_key, byte[] stored, byte[] passwd, byte[] ctx, byte[] master_key, long opslimit_max, int memlimit_max, byte threads_max)
    • hydro_pwhash_reencrypt

      public static int hydro_pwhash_reencrypt(byte[] stored, byte[] master_key, byte[] new_master_key)
    • hydro_pwhash_upgrade

      public static int hydro_pwhash_upgrade(byte[] stored, byte[] master_key, long opslimit, int memlimit, byte threads)
    • hydro_secretbox_keygen

      public static void hydro_secretbox_keygen(byte[] key)
    • hydro_secretbox_encrypt

      public static int hydro_secretbox_encrypt(byte[] c, byte[] m_, long msg_id, byte[] ctx, byte[] key)
    • hydro_secretbox_decrypt

      public static int hydro_secretbox_decrypt(byte[] m_, byte[] c, long msg_id, byte[] ctx, byte[] key)
    • hydro_kdf_keygen

      public static void hydro_kdf_keygen(byte[] key)
    • hydro_kdf_derive_from_key

      public static int hydro_kdf_derive_from_key(byte[] subkey, long subkey_id, byte[] ctx, byte[] key)
    • hydro_sign_keygen

      public static void hydro_sign_keygen(HydrogenLib.hydro_sign_keypair kp)
    • hydro_sign_keygen_deterministic

      public static void hydro_sign_keygen_deterministic(HydrogenLib.hydro_sign_keypair kp, byte[] seed)
    • hydro_sign_init

      public static int hydro_sign_init(HydrogenLib.hydro_sign_state state, byte[] ctx)
    • hydro_sign_update

      public static int hydro_sign_update(HydrogenLib.hydro_sign_state state, byte[] m_)
    • hydro_sign_final_create

      public static int hydro_sign_final_create(HydrogenLib.hydro_sign_state state, byte[] csig, byte[] sk)
    • hydro_sign_final_verify

      public static int hydro_sign_final_verify(HydrogenLib.hydro_sign_state state, byte[] csig, byte[] pk)
    • hydro_sign_create

      public static int hydro_sign_create(byte[] csig, byte[] m_, byte[] ctx, byte[] sk)
    • hydro_sign_verify

      public static int hydro_sign_verify(byte[] csig, byte[] m_, byte[] ctx, byte[] pk)