#TweetNaCl-cs
Branch | Build | Code Cover |
---|---|---|
master | .Net Mono |
Coveralls |
A C# port of original TweetNaCl C language implementation version 20140427.
##Documentation
Implements curve25519-xsalsa20-poly1305.
The CryptoBoxKeypair function randomly generates a secretKey and a corresponding public key. The secretKey array must have size equal to crypto_box_SECRETKEYBYTES
The function encrypts and authenticates a message using the nonce, receiver´s publicKey and sender´s secretKey.
The function verifies and decrypts a cipherMessage using the receiver's secretKey, the sender's publicKey, and a nonce.
Applications that send several messages to the same receiver can gain speed by splitting CryptoBox into two steps, CryptoBoxBeforenm and CryptoBoxAfternm.
Scalar multiplication is a curve25519 implementation.
The CryptoScalarmultBase function computes the scalar product of a standard group element and an integer n
##Third-party libraries
##Who is using
##License This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.