Chris Duncan [Sat, 31 Aug 2024 20:13:26 +0000 (13:13 -0700)]
Fix module imports. Replace arrow functions on 'describe' calls since they mess up 'this' and prevent test data setup. Set mocha 'slow' to zero in order to report all test durations.
* Added new functionality to encrypt/decrypt strings with Diffie-Hellman
key exchange with Nano addresses and private keys by converting the keys
to Curve25519 keys suitable for encryption and using Box functionality
from NaCl. The library will generate a random nonce to each encryption
and pass the nonce along with the encrypted message encoded in Base64
* Some code refactoring (use static classes and make sure ed25519 and
curve classes are always freshly created)
* New feature: verify signatures with the public key
* New feature: convert nano address to a public key
* Add documentation about how to verify ownership of user's Nano address
by doing a signature challenge
* npm audit fix
Miro Metsänheimo [Tue, 12 Jan 2021 20:30:58 +0000 (22:30 +0200)]
Version 1.3.0
* Add the possibility to generate legacy seeds and mnemonics
* Add the possibility to import legacy mnemonic phrases
* Stop throwing errors if given an upper case hex as input
* Return mnemonic also when creating wallet with a legacy seed
* npm audit fix
* Small refactoring
Miro Metsänheimo [Wed, 27 May 2020 20:03:12 +0000 (23:03 +0300)]
Version 1.2.1
* Fixed an issue where address importer threw an error on mnemonic words
that had a checksum hex value with a leading zero
* Added the possibility to validate mnemonic words and nano addresses
* Separate block signer to it's own class
* Add JSDOC to some functions
* Renamed converter to tools
* Added the ability to sign any strings with the private key
* Generate random entropy
* BIP39 mnemonic phrase and seed from entropy
* Mnemonic phrase importing and validation
* BIP32 key derivation from seed
* Nano address encoding and validation
* Nano unit converter
* Modified ed25519 curve for Nano
* Block signing for receive and send blocks