Sha256: 8a9b360d05d8bc888ac8ff48399b8b84358db09e08eb5baa3eab497df544a0aa

Contents?: true

Size: 501 Bytes

Versions: 3

Compression:

Stored size: 501 Bytes

Contents

#include "crypto_secretbox_xsalsa20poly1305.h"
#include "crypto_box.h"

int crypto_box_afternm(
  unsigned char *c,
  const unsigned char *m,unsigned long long mlen,
  const unsigned char *n,
  const unsigned char *k
)
{
  return crypto_secretbox_xsalsa20poly1305(c,m,mlen,n,k);
}

int crypto_box_open_afternm(
  unsigned char *m,
  const unsigned char *c,unsigned long long clen,
  const unsigned char *n,
  const unsigned char *k
)
{
  return crypto_secretbox_xsalsa20poly1305_open(m,c,clen,n,k);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_nacl-0.1.2 ext/ruby_nacl/NaCl/crypto_box/curve25519xsalsa20poly1305/ref/after.c
ruby_nacl-0.1.1 ext/ruby_nacl/NaCl/crypto_box/curve25519xsalsa20poly1305/ref/after.c
ruby_nacl-0.1.0 ext/ruby_nacl/NaCl/crypto_box/curve25519xsalsa20poly1305/ref/after.c