Pure Java implementation of the NaCl: Networking and Cryptography library
Supports the following crypto primitives:
- curve25519xsalsa20poly1305
Pure Java implementation of curve25519, salsa20, hsalsa20, xsalsa20 and poly1305 cryptographic primitives, along with a NaCl "Box" implementation
License: BSD 2-Clause "Simplified" License
Pure Java implementation of the NaCl: Networking and Cryptography library
Supports the following crypto primitives:
I am wondering how curve25519 is implemented, but without any notes, I just can not understand it at all. anyone can shed some lights on it?
there is no getRole() method in Nacl.java
Hi!
What do you think about to release it on the public Maven Repository?
Cheers!
When calling crypto_box_keypair(pk, sk), two non-random byte arrays are populated for pk (some deterministic series of bytes that do not use SecureRandom) and sk (all zeros).
File: curve25519xsalsa20poly1305.java line 66. "i" isn't defined in the function or the class, causing the build to fail. I'm not sure how to fix it, but another library I'm using requires this one
It is quite exciting to an open-source implementation of curve25519 encryption, thanks a lot to the authors. However, in this implementation, I could not find any function that does raw encryption using only the public key, nor raw decryption using only the private key.
The key idea of asymmetric cryptography is the ability to distribute only the public key and allow the public side to only encrypt but not decrypt. However, for the Box(private_key, public_key) method, you need to distribution both the public and private key, in this way the other party can use it to both encrypt and decrypt, so information is no longer secure, defeating the core purpose of asymmetric cryptography.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.