MilaSy

Results 1 issues of MilaSy

Hi TonyG In my php I'm using sodium_bin2hex(sodium_crypto_box_publickey(sodium_crypto_box_keypair())) which I pass to the javascript: bpkeypair=''; nacl_factory.instantiate(function(nacl){ akeypair=nacl.crypto_box_keypair(); message=nacl.encode_utf8(msg); nonce=nacl.crypto_box_random_nonce(); }); nacl_factory.instantiate(function(acl){ ctext=acl.crypto_box(message,nonce,bpkeypair,akeypair.boxSk); n2h=acl.to_hex(nonce); }); when I pass "cipher text" and...